Fix id/title = 'null'.
This commit is contained in:
parent
0eb7bdcbdb
commit
45c63fae20
@ -89,7 +89,7 @@ QR.post = class
|
|||||||
|
|
||||||
select: =>
|
select: =>
|
||||||
if QR.selected
|
if QR.selected
|
||||||
QR.selected.nodes.el.id = null
|
QR.selected.nodes.el.removeAttribute 'id'
|
||||||
QR.selected.forceSave()
|
QR.selected.forceSave()
|
||||||
QR.selected = @
|
QR.selected = @
|
||||||
@lock @isLocked
|
@lock @isLocked
|
||||||
@ -289,8 +289,8 @@ QR.post = class
|
|||||||
delete @file
|
delete @file
|
||||||
delete @filename
|
delete @filename
|
||||||
delete @filesize
|
delete @filesize
|
||||||
@nodes.el.title = null
|
@nodes.el.removeAttribute 'title'
|
||||||
QR.nodes.filename.title = ''
|
QR.nodes.filename.removeAttribute 'title'
|
||||||
@nodes.el.style.backgroundImage = null
|
@nodes.el.style.backgroundImage = null
|
||||||
$.rmClass @nodes.el, 'has-file'
|
$.rmClass @nodes.el, 'has-file'
|
||||||
@showFileData()
|
@showFileData()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user