From: Jan Szejko Date: Wed, 28 Dec 2016 09:05:47 +0000 (+0100) Subject: fix image prompt X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/13cfbc6feb4c291d5e2121f5705f74d0f5c9dfb6?ds=inline fix image prompt --- diff --git a/src/editor/plugins/core/img/imgElement.js b/src/editor/plugins/core/img/imgElement.js index ae0e081..ff3dad3 100644 --- a/src/editor/plugins/core/img/imgElement.js +++ b/src/editor/plugins/core/img/imgElement.js @@ -47,7 +47,7 @@ _.extend(linkElement, { refreshLink: function(linkUrl) { this._container().text(''); - if (linkUrl) { + if (linkUrl && linkUrl !== 'http://') { this._container().text(''); this._container().attr('style', 'background-image: url(\'' + linkUrl + '\');'); } else {