mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 14:23:53 +00:00
Fix minor refreshing bug for geomap widget
This commit is contained in:
parent
9fdb81b08f
commit
bd7742daeb
@ -172,7 +172,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
|
|||||||
GeomapWidget.prototype.refresh = function(changedTiddlers) {
|
GeomapWidget.prototype.refresh = function(changedTiddlers) {
|
||||||
var changedAttributes = this.computeAttributes();
|
var changedAttributes = this.computeAttributes();
|
||||||
// Refresh entire widget if layers or marker filter changes
|
// Refresh entire widget if layers or marker filter changes
|
||||||
if(changedAttributes.layers || changedAttributes.markers) {
|
if(changedAttributes.layers || changedAttributes.markers || changedAttributes.state) {
|
||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user