This commit is contained in:
Jordan Bates 2013-05-06 22:22:24 -07:00
parent d8b299fee7
commit cbc512c46f
5 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,6 @@
seaweedchan:
- Fix catalog content sometimes disappearing due to issue with 4chan's javascript
zixaphir: zixaphir:
- Re-added `Quote Hash Navigation` option - Re-added `Quote Hash Navigation` option

View File

@ -1518,8 +1518,11 @@
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) { if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) {
a.className = 'current'; a.className = 'current';
} }
cs = $.id('settingsWindowLink'); cs = $.el('a', {
cs.textContent = 'Catalog Settings'; id: 'settingsWindowLink',
href: 'javascript:;',
textContent: 'Catalog Settings'
});
if (g.VIEW === 'catalog') { if (g.VIEW === 'catalog') {
_this.addShortcut(cs); _this.addShortcut(cs);
} }

View File

@ -1514,8 +1514,11 @@
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) { if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) {
a.className = 'current'; a.className = 'current';
} }
cs = $.id('settingsWindowLink'); cs = $.el('a', {
cs.textContent = 'Catalog Settings'; id: 'settingsWindowLink',
href: 'javascript:;',
textContent: 'Catalog Settings'
});
if (g.VIEW === 'catalog') { if (g.VIEW === 'catalog') {
_this.addShortcut(cs); _this.addShortcut(cs);
} }

View File

@ -1517,8 +1517,11 @@
if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) { if (a = $("a[href*='/" + g.BOARD + "/']", $.id('boardNavDesktopFoot'))) {
a.className = 'current'; a.className = 'current';
} }
cs = $.id('settingsWindowLink'); cs = $.el('a', {
cs.textContent = 'Catalog Settings'; id: 'settingsWindowLink',
href: 'javascript:;',
textContent: 'Catalog Settings'
});
if (g.VIEW === 'catalog') { if (g.VIEW === 'catalog') {
_this.addShortcut(cs); _this.addShortcut(cs);
} }

View File

@ -73,8 +73,11 @@ Header =
if a = $ "a[href*='/#{g.BOARD}/']", $.id 'boardNavDesktopFoot' if a = $ "a[href*='/#{g.BOARD}/']", $.id 'boardNavDesktopFoot'
a.className = 'current' a.className = 'current'
cs = $.id('settingsWindowLink') cs = $.el 'a',
cs.textContent = 'Catalog Settings' id: 'settingsWindowLink'
href: 'javascript:;'
textContent: 'Catalog Settings'
@addShortcut cs if g.VIEW is 'catalog' @addShortcut cs if g.VIEW is 'catalog'
Header.setFooterVisibility Conf['Bottom Board List'] Header.setFooterVisibility Conf['Bottom Board List']