fixed a bug in location...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-12-31 05:44:14 +03:00
parent 7b93964f9f
commit fce33195a7
2 changed files with 2 additions and 3 deletions

View File

@ -55,9 +55,7 @@ var LocationActions = actions.Actions({
this.__location.path = b
}
if(this.__location.current == null){
this.__location.current = this.current
}
this.__location.current = this.current
return this.__location
},

View File

@ -2866,6 +2866,7 @@ module.IndirectControl = core.ImageGridFeatures.Feature({
// XXX make this work for external links in a stable manner...
// ...a bit unpredictable when working in combination with history
// feature -- need to stop them from competing...
// ...appears to be a bug in location....
var URLHash =
module.URLHash = core.ImageGridFeatures.Feature({
title: 'Handle URL hash',