diff --git a/js/interface_home.js b/js/interface_home.js index 83a75cd..dec022c 100644 --- a/js/interface_home.js +++ b/js/interface_home.js @@ -3,8 +3,6 @@ // // Specific interface functions for home.html -var promotedPostsOnly = false; - //*********************************************** //******************* DECLARATIONS ************** //*********************************************** diff --git a/js/tmobile.js b/js/tmobile.js index 0609358..a5944c4 100644 --- a/js/tmobile.js +++ b/js/tmobile.js @@ -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(); diff --git a/js/twister_timeline.js b/js/twister_timeline.js index c016166..1cba22c 100644 --- a/js/twister_timeline.js +++ b/js/twister_timeline.js @@ -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 = {};