Skip to content

Commit

Permalink
test: fix tests for element loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Jun 2, 2015
1 parent 041fd10 commit f04a504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function eltLoaded(id, lazyAttr) {
return function(done) {
var elt = document.getElementById(id);
setTimeout(function() {
assert(elt.getAttribute('data-lzled') === true);
assert(elt.getAttribute('data-lzled') === 'true');
done();
}, 40);
};
Expand Down

0 comments on commit f04a504

Please sign in to comment.