MOOOOOOOT

This commit is contained in:
Nicolas Stepien 2012-09-05 20:17:32 +02:00
parent 75950eb3b2
commit b5baa3a67b
3 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -1,4 +1,6 @@
master
- Mayhem
Fix 4chan X. Blame moot.
2.34.9
- Mayhem

View File

@ -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'