Merge pull request #34 from kasimi/fix-jquery-selector
Fix jquery selector
This commit is contained in:
@@ -145,7 +145,7 @@ jQuery(function($) {
|
|||||||
mChat.interval = setInterval(mChat.refresh, mChat.refreshTime);
|
mChat.interval = setInterval(mChat.refresh, mChat.refreshTime);
|
||||||
}
|
}
|
||||||
$("#mChatOkIMG").show();
|
$("#mChatOkIMG").show();
|
||||||
$("#mChatLoadIMG, #mChatErrorIMG, #mChatPauseIMG").hide();
|
$("#mChatLoadIMG,#mChatErrorIMG,#mChatPauseIMG").hide();
|
||||||
$("#mChatRefreshText").html(mChat.refreshYes);
|
$("#mChatRefreshText").html(mChat.refreshYes);
|
||||||
$("#mChatMessage").val("").focus();
|
$("#mChatMessage").val("").focus();
|
||||||
} else {
|
} else {
|
||||||
@@ -350,7 +350,7 @@ jQuery(function($) {
|
|||||||
},
|
},
|
||||||
dataType: "html",
|
dataType: "html",
|
||||||
beforeSend: function() {
|
beforeSend: function() {
|
||||||
$("#mChatOkIMG, #mChatErrorIMG, #mChatPauseIMG").hide();
|
$("#mChatOkIMG,#mChatErrorIMG,#mChatPauseIMG").hide();
|
||||||
$("#mChatLoadIMG").show();
|
$("#mChatLoadIMG").show();
|
||||||
},
|
},
|
||||||
success: function(html) {
|
success: function(html) {
|
||||||
@@ -369,13 +369,13 @@ jQuery(function($) {
|
|||||||
mChat.notice();
|
mChat.notice();
|
||||||
}
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$("#mChatLoadIMG, #mChatErrorIMG, #mChatPauseIMG").hide();
|
$("#mChatLoadIMG,#mChatErrorIMG,#mChatPauseIMG").hide();
|
||||||
$("#mChatOkIMG").show();
|
$("#mChatOkIMG").show();
|
||||||
$("#mChatRefreshText").html(mChat.refreshYes);
|
$("#mChatRefreshText").html(mChat.refreshYes);
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
error: function() {
|
error: function() {
|
||||||
$("#mChatLoadIMG, #mChatOkIMG, #mChatPauseIMG, #mChatRefreshTextNo, #mChatPauseIMG,").hide();
|
$("#mChatLoadIMG,#mChatOkIMG,#mChatPauseIMG,#mChatRefreshTextNo").hide();
|
||||||
$("#mChatErrorIMG").show();
|
$("#mChatErrorIMG").show();
|
||||||
mChat.sound(mChat.forumRoot + "ext/dmzx/mchat/sounds/error.swf");
|
mChat.sound(mChat.forumRoot + "ext/dmzx/mchat/sounds/error.swf");
|
||||||
},
|
},
|
||||||
|
|||||||
2
styles/prosilver/template/mchat.min.js
vendored
2
styles/prosilver/template/mchat.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user