MOOOOOOOT
This commit is contained in:
parent
75950eb3b2
commit
b5baa3a67b
@ -2541,7 +2541,7 @@
|
||||
Options = {
|
||||
init: function() {
|
||||
var a, el, settings, _i, _len, _ref;
|
||||
_ref = ['navtopr', 'navbotr'];
|
||||
_ref = ['navtopright', 'navbotright'];
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
settings = _ref[_i];
|
||||
a = $.el('a', {
|
||||
@ -2551,8 +2551,7 @@
|
||||
});
|
||||
$.on(a, 'click', Options.dialog);
|
||||
el = $.id(settings).firstElementChild;
|
||||
el.hidden = true;
|
||||
$.before(el, a);
|
||||
$.before(el, [a, $.tn('] ')]);
|
||||
}
|
||||
if (!$.get('firstrun')) {
|
||||
if (!Favicon.el) {
|
||||
@ -5086,7 +5085,7 @@
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!$.id('navtopr')) {
|
||||
if (!$.id('navtopright')) {
|
||||
return;
|
||||
}
|
||||
$.addClass(d.body, $.engine);
|
||||
|
||||
@ -1995,15 +1995,14 @@ QR =
|
||||
|
||||
Options =
|
||||
init: ->
|
||||
for settings in ['navtopr', 'navbotr']
|
||||
for settings in ['navtopright', 'navbotright']
|
||||
a = $.el 'a',
|
||||
href: 'javascript:;'
|
||||
className: 'settingsWindowLink'
|
||||
textContent: '4chan X Settings'
|
||||
$.on a, 'click', Options.dialog
|
||||
el = $.id(settings).firstElementChild
|
||||
el.hidden = true
|
||||
$.before el, a
|
||||
$.before el, [a, $.tn('] ')]
|
||||
unless $.get 'firstrun'
|
||||
# Prevent race conditions
|
||||
Favicon.init() unless Favicon.el
|
||||
@ -3981,7 +3980,7 @@ Main =
|
||||
if Conf['404 Redirect'] and /^\d+$/.test g.THREAD_ID
|
||||
location.href = Redirect.thread g.BOARD, g.THREAD_ID, location.hash
|
||||
return
|
||||
unless $.id 'navtopr'
|
||||
unless $.id 'navtopright'
|
||||
return
|
||||
$.addClass d.body, $.engine
|
||||
$.addClass d.body, 'fourchan_x'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user