Skip to content

Commit 8989142

Browse files
C-Lodderwilsonge
authored andcommitted
Update alert.js (#129)
1 parent 9e4311c commit 8989142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/alert/alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
} else {
158158
self.close();
159159
}
160-
}, parseInt(self.getAttribute('auto-dismiss'), 10) ? self.getAttribute('auto-dismiss') : 3000);
160+
}, self.getAttribute('auto-dismiss') ? parseInt(self.getAttribute('auto-dismiss'), 10) : 3000);
161161
}
162162
}
163163

0 commit comments

Comments
 (0)