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

7
js/twister_following.js

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

Loading…
Cancel
Save