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