Skip to content

Commit

Permalink
Merge pull request #71 from lngramos/master
Browse files Browse the repository at this point in the history
Remove data-echo-background attribute upon image load
  • Loading branch information
jonathan-fielding committed Jan 16, 2015
2 parents 7139829 + 10c42a8 commit 1a22b5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/echo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! echo.js v1.6.0 | (c) 2014 @toddmotto | https://github.com/toddmotto/echo */
/*! echo.js v1.6.0 | (c) 2015 @toddmotto | https://github.com/toddmotto/echo */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/echo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/echo.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@

if (!unload) {
elem.removeAttribute('data-echo');
elem.removeAttribute('data-echo-background');
}

callback(elem, 'load');
Expand Down

0 comments on commit 1a22b5b

Please # to comment.