From faa961b5d3d0c8083916ee2bdece806f6bf79657 Mon Sep 17 00:00:00 2001 From: Oliver Salzburg Date: Fri, 13 Feb 2015 13:44:16 +0100 Subject: [PATCH] chore(platform): remove duplicate event listener attachment --- js/utils/platform.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/utils/platform.js b/js/utils/platform.js index 5f1e86f673..b0a07055b0 100644 --- a/js/utils/platform.js +++ b/js/utils/platform.js @@ -413,8 +413,6 @@ window.addEventListener("load", onWindowLoad, false); } - window.addEventListener("load", onWindowLoad, false); - function onPlatformReady() { // the device is all set to go, init our own stuff then fire off our event self.isReady = true;