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;
});
$.ready(function() {
var a, cs;
_this.footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) {
var a, cs, footer;
_this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
$.on(a, 'click', Index.cb.link);
}

View File

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

View File

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