Skip to content

Commit

Permalink
Remove data-echo-background attribute upon image load
Browse files Browse the repository at this point in the history
  • Loading branch information
Lngramos committed Jan 8, 2015
1 parent 5642ec5 commit 1118a81
Showing 1 changed file with 1 addition and 0 deletions.
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 1118a81

Please sign in to comment.