Browse Source

fix of unwanted watchHashChange() initialization

readme-update
Simon Grim 9 years ago
parent
commit
9279b93edf
  1. 1
      js/interface_common.js
  2. 7
      js/twister_following.js

1
js/interface_common.js

@ -1853,6 +1853,7 @@ $(document).ready(function()
var page = path.split("/").pop(); var page = path.split("/").pop();
if (page.indexOf("following.html") === 0) { if (page.indexOf("following.html") === 0) {
initInterfaceFollowing(); initInterfaceFollowing();
initHashWatching();
} else if (page.indexOf("login.html") === 0) { } else if (page.indexOf("login.html") === 0) {
initInterfaceLogin(); initInterfaceLogin();
} else if (page.indexOf("network.html") === 0) { } else if (page.indexOf("network.html") === 0) {

7
js/twister_following.js

@ -835,12 +835,9 @@ function initInterfaceFollowing() {
} }
var InterfaceFunctions = function() var InterfaceFunctions = function () {
{ this.init = function () {
this.init = function()
{
initUser(initFollowing_); initUser(initFollowing_);
initHashWatching();
}; };
function initFollowing_(cbFunc, cbArg) { function initFollowing_(cbFunc, cbArg) {

Loading…
Cancel
Save