fix of tmobile

This commit is contained in:
Simon Grim 2015-04-24 14:17:07 +05:00
parent 095b46af4f
commit dde3a77c92
3 changed files with 5 additions and 6 deletions

View File

@ -3,8 +3,6 @@
//
// Specific interface functions for home.html
var promotedPostsOnly = false;
//***********************************************
//******************* DECLARATIONS **************
//***********************************************

View File

@ -25,9 +25,8 @@ function initializeTwister( redirectNetwork, redirectLogin, cbFunc, cbArg ) {
});
// reply text counter both newmsg and dmchat
var $replyText = $( ".post-area-new textarea" );
$replyText.unbind('keyup').keyup(replyTextInput, function() { replyTextUpdateRemaining(this); });
setInterval("tmobileTick()", 2000);
$replyText.off('input keyup').on('keyup', replyTextInput, function() { replyTextUpdateRemaining(this); });
handlersInstalled = true;
}
@ -57,6 +56,7 @@ function initializeTwister( redirectNetwork, redirectLogin, cbFunc, cbArg ) {
twisterInitialized = true;
if( cbFunc )
cbFunc(cbArg);
setInterval("tmobileTick()", 2000);
});
} else {
if( cbFunc )
@ -319,7 +319,7 @@ function installPostboardClick() {
$.mobile.showPageLoadingMsg();
$.mobile.navigate( url );
});
$(".post a").unbind('click').click(function(e) {
e.stopPropagation();

View File

@ -8,6 +8,7 @@
// of those users more efficiently than iterating through dht posts.
var promotedPostsOnly = false;
var _idTrackerMap = {};
var _idTrackerSpam = new idTrackerObj();
var _lastHaveMap = {};