|
@ -49,7 +49,7 @@ function CategoryBase (options, data) { |
|
|
domHeader.appendChild(a) |
|
|
domHeader.appendChild(a) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (options.debug) { |
|
|
|
|
|
|
|
|
if (this.shallShowReload()) { |
|
|
a = document.createElement('a') |
|
|
a = document.createElement('a') |
|
|
a.appendChild(document.createTextNode('⟳')) |
|
|
a.appendChild(document.createTextNode('⟳')) |
|
|
a.title = lang('reload') |
|
|
a.title = lang('reload') |
|
@ -84,6 +84,10 @@ CategoryBase.prototype.load = function (callback) { |
|
|
callback() |
|
|
callback() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CategoryBase.prototype.shallShowReload = function () { |
|
|
|
|
|
return options.debug |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
CategoryBase.prototype.setMap = function (map) { |
|
|
CategoryBase.prototype.setMap = function (map) { |
|
|
this.map = map |
|
|
this.map = map |
|
|
} |
|
|
} |
|
|