aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/home.js')
-rw-r--r--src/js/home.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/js/home.js b/src/js/home.js
index 1db88dd..dc13e34 100644
--- a/src/js/home.js
+++ b/src/js/home.js
@@ -6,9 +6,10 @@ var home = new function(){
home_node.url_chg = function(direct,url_upart,url_dpart,param){
if(direct == 'in'){
- com.loadpage('首頁','/toj/html/home.html').done(function(){
- index.set_title('Taiwan Online Judge');
- });
+ index.set_menu('首頁');
+ index.set_title('Taiwan Online Judge');
+ index.clear_tabnav();
+ com.loadpage('/toj/html/home.html');
}
};
com.vus_root.child_set(home_node);