move JSON top navlinks to their position in vanilla

This commit is contained in:
ccd0 2014-05-16 14:01:26 -07:00
parent 4f75fe9b74
commit 18f6c17fed

View File

@ -100,7 +100,9 @@ Index =
$.rm navLink for navLink in $$ '.navLinks'
$.id('search-box')?.parentNode.remove()
$.after $.x('child::form/preceding-sibling::hr[1]'), Index.navLinks
topNavPos = $.id('delform').previousElementSibling
$.before topNavPos, ($.el 'hr', className: 'desktop') if g.VIEW is 'index'
$.before topNavPos, Index.navLinks
$.rmClass doc, 'index-loading'
$.asap (-> $('.pagelist', doc) or d.readyState isnt 'loading'), ->