mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
last fix for dimming the editor
This commit is contained in:
parent
be50927fb6
commit
9cb704a843
1 changed files with 1 additions and 1 deletions
|
@ -49,5 +49,5 @@ module.exports.darkenImage = darkenImage = (img, borderImageSelector, pct=0.5) -
|
||||||
module.exports.revertImage = revertImage = (img, borderImageSelector) ->
|
module.exports.revertImage = revertImage = (img, borderImageSelector) ->
|
||||||
jqimg = $(img)
|
jqimg = $(img)
|
||||||
return unless jqimg.data('original')
|
return unless jqimg.data('original')
|
||||||
$(borderImageSelector).css 'border-image-source', 'url(' + img.src + ')'
|
$(borderImageSelector).css 'border-image-source', 'url(' + jqimg.data('original') + ')'
|
||||||
img.src = jqimg.data('original')
|
img.src = jqimg.data('original')
|
||||||
|
|
Loading…
Reference in a new issue