This commit is contained in:
Zixaphir 2014-01-07 11:56:54 -07:00
parent 456c9af18d
commit 767b89a82c
3 changed files with 8 additions and 8 deletions

View File

@ -1707,9 +1707,9 @@
return _this; return _this;
}); });
$.ready(function() { $.ready(function() {
var a, cs; var a, cs, footer;
_this.footer = $.id('boardNavDesktopFoot'); _this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) { if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current'; a.className = 'current';
$.on(a, 'click', Index.cb.link); $.on(a, 'click', Index.cb.link);
} }

View File

@ -1717,9 +1717,9 @@
return _this; return _this;
}); });
$.ready(function() { $.ready(function() {
var a, cs; var a, cs, footer;
_this.footer = $.id('boardNavDesktopFoot'); _this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) { if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current'; a.className = 'current';
$.on(a, 'click', Index.cb.link); $.on(a, 'click', Index.cb.link);
} }

View File

@ -101,8 +101,8 @@ Header =
@ @
$.ready => $.ready =>
@footer = $.id 'boardNavDesktopFoot' @footer = footer = $.id 'boardNavDesktopFoot'
if a = $ "a[href*='/#{g.BOARD}/']", $.id 'boardNavDesktopFoot' if a = $ "a[href*='/#{g.BOARD}/']", footer
a.className = 'current' a.className = 'current'
$.on a, 'click', Index.cb.link $.on a, 'click', Index.cb.link