Revert "Single nav.init()."

This reverts commit eb8daa7b43eed20318b58370969bd75a0a53b380.
This commit is contained in:
Nicolas Stepien 2012-01-04 18:24:39 +01:00
parent a3933212e4
commit 7e02db3b9b
2 changed files with 8 additions and 4 deletions

View File

@ -3176,10 +3176,10 @@
if (conf['Quick Reply']) qr.init(); if (conf['Quick Reply']) qr.init();
if (conf['Thread Watcher']) watcher.init(); if (conf['Thread Watcher']) watcher.init();
if (conf['Keybinds']) keybinds.init(); if (conf['Keybinds']) keybinds.init();
if (conf['Reply Navigation'] || conf['Index Navigation']) nav.init();
if (g.REPLY) { if (g.REPLY) {
if (conf['Thread Updater']) updater.init(); if (conf['Thread Updater']) updater.init();
if (conf['Thread Stats']) threadStats.init(); if (conf['Thread Stats']) threadStats.init();
if (conf['Reply Navigation']) nav.init();
if (conf['Post in Title']) titlePost.init(); if (conf['Post in Title']) titlePost.init();
if (conf['Unread Count']) unread.init(); if (conf['Unread Count']) unread.init();
if (conf['Quick Reply'] && conf['Persistent QR'] && canPost) { if (conf['Quick Reply'] && conf['Persistent QR'] && canPost) {
@ -3190,6 +3190,7 @@
if (conf['Thread Hiding']) threadHiding.init(); if (conf['Thread Hiding']) threadHiding.init();
if (conf['Thread Expansion']) expandThread.init(); if (conf['Thread Expansion']) expandThread.init();
if (conf['Comment Expansion']) expandComment.init(); if (conf['Comment Expansion']) expandComment.init();
if (conf['Index Navigation']) nav.init();
} }
nodes = $$('.op, a + table'); nodes = $$('.op, a + table');
_ref = g.callbacks; _ref = g.callbacks;

View File

@ -2516,9 +2516,6 @@ Main =
if conf['Keybinds'] if conf['Keybinds']
keybinds.init() keybinds.init()
if conf['Reply Navigation'] or conf['Index Navigation']
nav.init()
if g.REPLY if g.REPLY
if conf['Thread Updater'] if conf['Thread Updater']
updater.init() updater.init()
@ -2526,6 +2523,9 @@ Main =
if conf['Thread Stats'] if conf['Thread Stats']
threadStats.init() threadStats.init()
if conf['Reply Navigation']
nav.init()
if conf['Post in Title'] if conf['Post in Title']
titlePost.init() titlePost.init()
@ -2547,6 +2547,9 @@ Main =
if conf['Comment Expansion'] if conf['Comment Expansion']
expandComment.init() expandComment.init()
if conf['Index Navigation']
nav.init()
nodes = $$ '.op, a + table' nodes = $$ '.op, a + table'
for callback in g.callbacks for callback in g.callbacks