Inherited indices too stronk
This commit is contained in:
parent
0fbb87dd47
commit
c40b978e1f
@ -3742,7 +3742,7 @@
|
||||
id: 'scroll-marker'
|
||||
}),
|
||||
setBoardList: function() {
|
||||
var a, boardList, btn, fourchannav, fullBoardList, settings;
|
||||
var a, boardList, btn, fourchannav, fullBoardList;
|
||||
|
||||
fourchannav = $.id('boardNavDesktop');
|
||||
if (a = $("a[href*='/" + g.BOARD + "/']", fourchannav)) {
|
||||
@ -3756,9 +3756,8 @@
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
$.on(btn, 'click', Header.toggleBoardList);
|
||||
$.rm($('#navtopright', fullBoardList));
|
||||
settings = $.id('navtopright');
|
||||
$.prepend(d.body, settings);
|
||||
$.add(settings, Header.menuButton);
|
||||
$.prepend(d.body, $.id('navtopright'));
|
||||
$.add(d.body, Header.menuButton);
|
||||
$.add(boardList, fullBoardList);
|
||||
$.add(Header.bar, [Header.shortcuts, boardList, Header.notify, Header.toggle]);
|
||||
Header.setCustomNav(Conf['Custom Board Navigation']);
|
||||
@ -13029,11 +13028,7 @@
|
||||
if (!Main.isThisPageLegit()) {
|
||||
return;
|
||||
}
|
||||
return $.asap((function() {
|
||||
return $.id('boardNavMobile');
|
||||
}), function() {
|
||||
return $.prepend($.id('navtopright'), [$.tn(' ['), link, $.tn('] ')]);
|
||||
});
|
||||
return $.add(d.body, link);
|
||||
});
|
||||
$.get('previousversion', null, function(item) {
|
||||
var changelog, curr, el, prev, previous;
|
||||
|
||||
@ -3738,7 +3738,7 @@
|
||||
id: 'scroll-marker'
|
||||
}),
|
||||
setBoardList: function() {
|
||||
var a, boardList, btn, fourchannav, fullBoardList, settings;
|
||||
var a, boardList, btn, fourchannav, fullBoardList;
|
||||
|
||||
fourchannav = $.id('boardNavDesktop');
|
||||
if (a = $("a[href*='/" + g.BOARD + "/']", fourchannav)) {
|
||||
@ -3752,9 +3752,8 @@
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
$.on(btn, 'click', Header.toggleBoardList);
|
||||
$.rm($('#navtopright', fullBoardList));
|
||||
settings = $.id('navtopright');
|
||||
$.prepend(d.body, settings);
|
||||
$.add(settings, Header.menuButton);
|
||||
$.prepend(d.body, $.id('navtopright'));
|
||||
$.add(d.body, Header.menuButton);
|
||||
$.add(boardList, fullBoardList);
|
||||
$.add(Header.bar, [Header.shortcuts, boardList, Header.notify, Header.toggle]);
|
||||
Header.setCustomNav(Conf['Custom Board Navigation']);
|
||||
@ -13050,11 +13049,7 @@
|
||||
if (!Main.isThisPageLegit()) {
|
||||
return;
|
||||
}
|
||||
return $.asap((function() {
|
||||
return $.id('boardNavMobile');
|
||||
}), function() {
|
||||
return $.prepend($.id('navtopright'), [$.tn(' ['), link, $.tn('] ')]);
|
||||
});
|
||||
return $.add(d.body, link);
|
||||
});
|
||||
$.get('previousversion', null, function(item) {
|
||||
var changelog, curr, el, prev, previous;
|
||||
|
||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -3740,7 +3740,7 @@
|
||||
id: 'scroll-marker'
|
||||
}),
|
||||
setBoardList: function() {
|
||||
var a, boardList, btn, fourchannav, fullBoardList, settings;
|
||||
var a, boardList, btn, fourchannav, fullBoardList;
|
||||
|
||||
fourchannav = $.id('boardNavDesktop');
|
||||
if (a = $("a[href*='/" + g.BOARD + "/']", fourchannav)) {
|
||||
@ -3754,9 +3754,8 @@
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
$.on(btn, 'click', Header.toggleBoardList);
|
||||
$.rm($('#navtopright', fullBoardList));
|
||||
settings = $.id('navtopright');
|
||||
$.prepend(d.body, settings);
|
||||
$.add(settings, Header.menuButton);
|
||||
$.prepend(d.body, $.id('navtopright'));
|
||||
$.add(d.body, Header.menuButton);
|
||||
$.add(boardList, fullBoardList);
|
||||
$.add(Header.bar, [Header.shortcuts, boardList, Header.notify, Header.toggle]);
|
||||
Header.setCustomNav(Conf['Custom Board Navigation']);
|
||||
@ -13033,11 +13032,7 @@
|
||||
if (!Main.isThisPageLegit()) {
|
||||
return;
|
||||
}
|
||||
return $.asap((function() {
|
||||
return $.id('boardNavMobile');
|
||||
}), function() {
|
||||
return $.prepend($.id('navtopright'), [$.tn(' ['), link, $.tn('] ')]);
|
||||
});
|
||||
return $.add(d.body, link);
|
||||
});
|
||||
$.get('previousversion', null, function(item) {
|
||||
var changelog, curr, el, prev, previous;
|
||||
|
||||
@ -93,10 +93,9 @@ Header =
|
||||
$.on btn, 'click', Header.toggleBoardList
|
||||
|
||||
$.rm $ '#navtopright', fullBoardList
|
||||
|
||||
settings = $.id('navtopright')
|
||||
$.prepend d.body, settings
|
||||
$.add settings, Header.menuButton
|
||||
|
||||
$.prepend d.body, $.id('navtopright')
|
||||
$.add d.body, Header.menuButton
|
||||
|
||||
$.add boardList, fullBoardList
|
||||
$.add Header.bar, [Header.shortcuts, boardList, Header.notify, Header.toggle]
|
||||
|
||||
@ -11,8 +11,7 @@ Settings =
|
||||
return unless Main.isThisPageLegit()
|
||||
# Wait for #boardNavMobile instead of #boardNavDesktop,
|
||||
# it might be incomplete otherwise.
|
||||
$.asap (-> $.id 'boardNavMobile'), ->
|
||||
$.prepend $.id('navtopright'), [$.tn(' ['), link, $.tn('] ')]
|
||||
$.add d.body, link
|
||||
|
||||
$.get 'previousversion', null, (item) ->
|
||||
if previous = item['previousversion']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user