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 @@ @@ -3,8 +3,6 @@
//
// Specific interface functions for home.html
var promotedPostsOnly = false;
//***********************************************
//******************* DECLARATIONS **************
//***********************************************

8
js/tmobile.js

@ -25,9 +25,8 @@ function initializeTwister( redirectNetwork, redirectLogin, cbFunc, cbArg ) { @@ -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 ) { @@ -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() { @@ -319,7 +319,7 @@ function installPostboardClick() {
$.mobile.showPageLoadingMsg();
$.mobile.navigate( url );
});
$(".post a").unbind('click').click(function(e) {
e.stopPropagation();

1
js/twister_timeline.js

@ -8,6 +8,7 @@ @@ -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 = {};

Loading…
Cancel
Save