Skip to content

Commit 1a22b5b

Browse files
Merge pull request #71 from lngramos/master
Remove data-echo-background attribute upon image load
2 parents 7139829 + 10c42a8 commit 1a22b5b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

dist/echo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! echo.js v1.6.0 | (c) 2014 @toddmotto | https://github.com/toddmotto/echo */
1+
/*! echo.js v1.6.0 | (c) 2015 @toddmotto | https://github.com/toddmotto/echo */
22
(function (root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(function() {

dist/echo.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/echo.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989

9090
if (!unload) {
9191
elem.removeAttribute('data-echo');
92+
elem.removeAttribute('data-echo-background');
9293
}
9394

9495
callback(elem, 'load');

0 commit comments

Comments
 (0)