Skip to content

Commit e769815

Browse files
committed
Fixed missing strict equality operator
1 parent ae43e5d commit e769815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/type.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ var stylefill = {
9898

9999
req.onreadystatechange = function () {
100100

101-
if (this.readyState == 4 && this.status == 200) {
101+
if (this.readyState === 4 && this.status === 200) {
102102
stylefill.sheetTexts[url] = this.responseText;
103103
stylefill.loadStyles(count + 1);
104104
}
105-
else if (this.readyState == 4 && this.status == 000) {
105+
else if (this.readyState === 4 && this.status === 000) {
106106
stylefill.loadStyles(count + 1);
107107
}
108108
};

0 commit comments

Comments
 (0)