fixed bug with system.reload()

This commit is contained in:
Ulf Gebhardt 2015-07-06 15:00:52 +02:00
parent b77f6fd190
commit 68acd8a849

View File

@ -203,8 +203,8 @@ SYSTEM.prototype.back = function(){
SYSTEM.prototype.forward = function(){
window.history.forward();};
SYSTEM.prototype.reload = function(href){
if('#!'+this.cur_state() === href){
this.go_state(this.cur_state(),true);}
//if('#!'+this.cur_state() === href){
this.go_state(this.cur_state(),true);//}
};
SYSTEM.prototype.language = function(lang){