Holy, how tired was I when I did that? Damn.

This commit is contained in:
Zixaphir 2014-01-11 19:52:49 -07:00
parent 495567682b
commit 2e242a9f9d
3 changed files with 5 additions and 9 deletions

View File

@ -11898,10 +11898,8 @@
if (g.VIEW === 'catalog' || g.BOARD.ID === 'f') {
return;
}
({
ready: function() {
return $.on(window, 'popstate', Navigate.popstate);
}
$.ready(function() {
return $.on(window, 'popstate', Navigate.popstate);
});
Thread.callbacks.push({
name: 'Navigate',

View File

@ -11887,10 +11887,8 @@
if (g.VIEW === 'catalog' || g.BOARD.ID === 'f') {
return;
}
({
ready: function() {
return $.on(window, 'popstate', Navigate.popstate);
}
$.ready(function() {
return $.on(window, 'popstate', Navigate.popstate);
});
Thread.callbacks.push({
name: 'Navigate',

View File

@ -3,7 +3,7 @@ Navigate =
return if g.VIEW is 'catalog' or g.BOARD.ID is 'f'
# blink/webkit throw a popstate on page load. Not what we want.
ready: ->
$.ready ->
$.on window, 'popstate', Navigate.popstate
Thread.callbacks.push