Skip to content

Commit

Permalink
fix: issue#236 fixed #236, fixed #218
Browse files Browse the repository at this point in the history
  • Loading branch information
awe committed Apr 13, 2018
1 parent 90f297e commit bb6528e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-lazyload",
"version": "1.2.2",
"version": "1.2.3",
"description": "Vue module for lazy-loading images in your vue.js applications.",
"main": "vue-lazyload.js",
"unpkg": "vue-lazyload.js",
Expand Down
2 changes: 1 addition & 1 deletion src/lazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export default function (Vue) {
}

if (bindType) {
el.style[bindType] = 'url(' + src + ')'
el.style[bindType] = 'url("' + src + '")'
} else if (el.getAttribute('src') !== src) {
el.setAttribute('src', src)
}
Expand Down
Loading

0 comments on commit bb6528e

Please sign in to comment.