Browse Source

fix of tmobile

master
Simon Grim 10 years ago
parent
commit
dde3a77c92
  1. 2
      js/interface_home.js
  2. 8
      js/tmobile.js
  3. 1
      js/twister_timeline.js

2
js/interface_home.js

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

8
js/tmobile.js

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

1
js/twister_timeline.js

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

Loading…
Cancel
Save