Skip to content

Commit 1ae7342

Browse files
committed
Remove legacy browser check for DOMContentLoaded
1 parent f8f477c commit 1ae7342

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

war/src/main/webapp/scripts/behavior.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,9 @@ var Behaviour = (function () {
8181
},
8282

8383
start: function () {
84-
if (document.addEventListener) {
85-
document.addEventListener("DOMContentLoaded", function () {
86-
Behaviour.apply();
87-
});
88-
} else {
89-
Behaviour.addLoadEvent(function () {
90-
Behaviour.apply();
91-
});
92-
}
84+
document.addEventListener("DOMContentLoaded", function () {
85+
Behaviour.apply();
86+
});
9387
},
9488

9589
apply: function () {

0 commit comments

Comments
 (0)