aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-25 10:39:03 (EDT)
committerMark Macdonald2013-06-27 12:28:00 (EDT)
commitc51903f9e25b465dcc4b20cb1478fadd185d553d (patch)
treeed8c0d04f8a24e5354328335ac5efcf7a22eb684
parent8baf349cb95de425021582d4fa85d946954dfb70 (diff)
downloadorg.eclipse.orion.client-c51903f9e25b465dcc4b20cb1478fadd185d553d.zip
org.eclipse.orion.client-c51903f9e25b465dcc4b20cb1478fadd185d553d.tar.gz
org.eclipse.orion.client-c51903f9e25b465dcc4b20cb1478fadd185d553d.tar.bz2
Bug 411607 - Combine functions invoked by event listener on hashchange in setup.js
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/edit/setup.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
index 6947577..ddc68f3 100644
--- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
@@ -381,8 +381,6 @@ exports.setUpEditor = function(serviceRegistry, preferences, isReadOnly){
});
window.addEventListener("hashchange", function() { //$NON-NLS-0$
inputManager.setInput(window.location.hash);
- });
- window.addEventListener("hashchange", function() { //$NON-NLS-0$
// inform the sidebar
sidebarNavInputManager.processHash(window.location.hash);
});