Don't mess with the wrong <hr>.

This commit is contained in:
Mayhem 2014-04-30 15:49:13 +02:00
parent 0c32171b2b
commit b5b86cd32f

View File

@ -107,7 +107,7 @@ Index =
for navLink in $$ '.navLinks'
$.rm navLink
$.before $.id('delform'), [Index.navLinks, $.x 'child::form/preceding-sibling::hr[1]']
$.before $.x('child::form[@name="delform"]/preceding-sibling::hr[1]'), Index.navLinks
$.asap (-> $('.pagelist') or d.readyState isnt 'loading'), ->
$.replace pagelist, Index.pagelist if pagelist = $ '.pagelist'
$.rmClass doc, 'index-loading'