fnp
/
fnpeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11a0ee
)
fix image prompt
author
Jan Szejko
<janek37@gmail.com>
Wed, 28 Dec 2016 09:05:47 +0000
(10:05 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 28 Dec 2016 09:05:47 +0000
(10:05 +0100)
src/editor/plugins/core/img/imgElement.js
patch
|
blob
|
history
diff --git
a/src/editor/plugins/core/img/imgElement.js
b/src/editor/plugins/core/img/imgElement.js
index
ae0e081
..
ff3dad3
100644
(file)
--- 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 {