Skip to content

Commit

Permalink
#285: fix addOnloadListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauke Scholtz committed Aug 2, 2016
1 parent b423c2d commit 1ff00b7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ OmniFaces.Util = {
setTimeout(listener);
}
else if (window.addEventListener || window.attachEvent) {
addEventListener(window, "load", listener);
OmniFaces.Util.addEventListener(window, "load", listener);
}
else if (typeof window.onload === "function") {
var oldListener = window.onload;
Expand Down

0 comments on commit 1ff00b7

Please sign in to comment.