Merge pull request #1586 from mgrabovsky/exif-fix
Fix Post.cleanup() breaking EXIF toggling Fix #1584
This commit is contained in:
commit
a38e45d2be
@ -152,7 +152,7 @@ class Post
|
||||
cleanup: (root, post) ->
|
||||
for node in $$ '.mobile', root
|
||||
$.rm node
|
||||
for node in $$ '[id]', post
|
||||
for node in $$ '[id]:not(.exif)', post
|
||||
node.removeAttribute 'id'
|
||||
for node in $$ '.desktop', root
|
||||
$.rmClass node, 'desktop'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user