mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
fix of unwanted watchHashChange() initialization
This commit is contained in:
parent
6a6b3aba5d
commit
9279b93edf
@ -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) {
|
||||
|
@ -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…
Reference in New Issue
Block a user