mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
fixed a bug in location...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7b93964f9f
commit
fce33195a7
@ -55,9 +55,7 @@ var LocationActions = actions.Actions({
|
|||||||
this.__location.path = b
|
this.__location.path = b
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.__location.current == null){
|
|
||||||
this.__location.current = this.current
|
this.__location.current = this.current
|
||||||
}
|
|
||||||
|
|
||||||
return this.__location
|
return this.__location
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2866,6 +2866,7 @@ module.IndirectControl = core.ImageGridFeatures.Feature({
|
|||||||
// XXX make this work for external links in a stable manner...
|
// XXX make this work for external links in a stable manner...
|
||||||
// ...a bit unpredictable when working in combination with history
|
// ...a bit unpredictable when working in combination with history
|
||||||
// feature -- need to stop them from competing...
|
// feature -- need to stop them from competing...
|
||||||
|
// ...appears to be a bug in location....
|
||||||
var URLHash =
|
var URLHash =
|
||||||
module.URLHash = core.ImageGridFeatures.Feature({
|
module.URLHash = core.ImageGridFeatures.Feature({
|
||||||
title: 'Handle URL hash',
|
title: 'Handle URL hash',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user