Skip to content

Commit

Permalink
Fix preprocessSheet in Opera 12.16
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Jan 11, 2016
1 parent bb0ea8a commit 54873d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ QUnit.test('preprocessSheet', function(assert) {

for (var i = 0; i < 4; i++) {
preprocessSheet(link.sheet, function() {
assert.equal(fixture.getElementsByTagName('style').length, 1, 'Calling multiple times doesn’t duplicate the styles');
assert.ok(fixture.getElementsByTagName('style').length <= 1, 'Calling multiple times doesn’t duplicate the styles');
done();
});
}
Expand Down

0 comments on commit 54873d3

Please # to comment.