aboutsummaryrefslogtreecommitdiffstats
path: root/js/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ajax.js')
-rw-r--r--js/ajax.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/js/ajax.js b/js/ajax.js
index 6c0185c6592..534dd46a290 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -19,10 +19,5 @@
*
*/
-var dir=''
-var loc=document.location.toString();
-if(loc.indexOf('#')!=-1){
- dir=loc.substring(loc.indexOf('#')+1);
-}
-OC_onload.add(new function(){OC_FILES.showbrowser(dir)}); \ No newline at end of file
+OC_onload.add(OC_FILES.browser.showInitial); \ No newline at end of file