last fix for dimming the editor

This commit is contained in:
Dominik Kundel 2014-07-23 15:09:15 +02:00
parent be50927fb6
commit 9cb704a843

View file

@ -49,5 +49,5 @@ module.exports.darkenImage = darkenImage = (img, borderImageSelector, pct=0.5) -
module.exports.revertImage = revertImage = (img, borderImageSelector) ->
jqimg = $(img)
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')