summaryrefslogtreecommitdiffstats
path: root/js/ajax.js
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-04-08 23:59:19 +0200
committerRobin <robin@Amaya.(none)>2010-04-08 23:59:19 +0200
commite8307187574380c12b8ca5f932185ca576074c68 (patch)
tree50cbaa134821ed9ca5c0c5a360aab90eb5fab048 /js/ajax.js
parent7657926a602a524cf651e7e2b95a3369261fbde1 (diff)
downloadnextcloud-server-e8307187574380c12b8ca5f932185ca576074c68.tar.gz
nextcloud-server-e8307187574380c12b8ca5f932185ca576074c68.zip
some more cleanup
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 d924c9b8bc3..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.browser.show(dir)}); \ No newline at end of file
+OC_onload.add(OC_FILES.browser.showInitial); \ No newline at end of file