diff --git a/styles/prosilver/template/mchat_ajax_mini.js b/styles/prosilver/template/mchat_ajax_mini.js index 38b7afa..d839fbf 100644 --- a/styles/prosilver/template/mchat_ajax_mini.js +++ b/styles/prosilver/template/mchat_ajax_mini.js @@ -92,6 +92,7 @@ $jQ(function(){ $jQ('#mChatUserList').show() } } + $jQ.browser = {msie: navigator.userAgent.match(/MSIE ([0-9]+)\./) || navigator.userAgent.match(/Trident\/7.0; rv 11.0/)}; }); var mChat={ key:function(e){ @@ -154,7 +155,7 @@ var mChat={ if ($jQ.cookie('mChatNoSound') == 'yes') { return } - if (false || $.browser.msie) { + if ($jQ.browser.msie) { $('#mChatSound').html(''); } else { $('#mChatSound').html('');