Skip to content

Commit

Permalink
Fixed lining.effect.js on IE8;
Browse files Browse the repository at this point in the history
  • Loading branch information
zmmbreeze committed Jan 3, 2015
1 parent b446367 commit 1dfae72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/lining.effect.min.js

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

4 changes: 2 additions & 2 deletions src/lining.effect.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return;
}

document.addEventListener('beforelining', function (e) {
lining.util.on(document, 'beforelining', function (e) {
var target = e.target;
var effectName = target.getAttribute('data-effect');
var effect = Effects[effectName];
Expand All @@ -23,7 +23,7 @@
}
});

document.addEventListener('afterlining', function (e) {
lining.util.on(document, 'afterlining', function (e) {
var target = e.target;
var effectName = target.getAttribute('data-effect');
var effect = Effects[effectName];
Expand Down

0 comments on commit 1dfae72

Please sign in to comment.