Fix ThreadUpdater not adding itself back on navigate.
This commit is contained in:
parent
0a39fff577
commit
d597b3d9e7
@ -4577,8 +4577,8 @@
|
||||
$.addClass(el, 'shortcut');
|
||||
return $.add(Header[icon ? 'icons' : 'stats'], el);
|
||||
},
|
||||
rmShortcut: function(el) {
|
||||
return $.rm(el.parentElement);
|
||||
rmShortcut: function(el, icon) {
|
||||
return $.rm(icon ? el.parentElement : el);
|
||||
},
|
||||
menuToggle: function(e) {
|
||||
return Header.menu.toggle(e, this, g);
|
||||
|
||||
@ -4635,8 +4635,8 @@
|
||||
$.addClass(el, 'shortcut');
|
||||
return $.add(Header[icon ? 'icons' : 'stats'], el);
|
||||
},
|
||||
rmShortcut: function(el) {
|
||||
return $.rm(el.parentElement);
|
||||
rmShortcut: function(el, icon) {
|
||||
return $.rm(icon ? el.parentElement : el);
|
||||
},
|
||||
menuToggle: function(e) {
|
||||
return Header.menu.toggle(e, this, g);
|
||||
|
||||
@ -386,8 +386,8 @@ Header =
|
||||
|
||||
$.add Header[if icon then 'icons' else 'stats'], el
|
||||
|
||||
rmShortcut: (el) ->
|
||||
$.rm el.parentElement
|
||||
rmShortcut: (el, icon) ->
|
||||
$.rm if icon then el.parentElement else el
|
||||
|
||||
menuToggle: (e) ->
|
||||
Header.menu.toggle e, @, g
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user