Fix Post.cleanup() breaking EXIF toggling
This commit is contained in:
parent
47ec271e48
commit
373766e91a
@ -153,7 +153,8 @@ class Post
|
||||
for node in $$ '.mobile', root
|
||||
$.rm node
|
||||
for node in $$ '[id]', post
|
||||
node.removeAttribute 'id'
|
||||
if node.className isnt 'exif'
|
||||
node.removeAttribute 'id'
|
||||
for node in $$ '.desktop', root
|
||||
$.rmClass node, 'desktop'
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user