image: cache option inverted (#521)
This commit is contained in:
parent
3e2d66e165
commit
af34f87ac8
2 changed files with 6 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ module.exports = class Image extends Widget {
|
|||
|
||||
if (typeof this.value === 'string' && this.value.length) {
|
||||
|
||||
if ((s === 'reload' || this.getProp('cache')) && this.value.indexOf('base64') === -1) {
|
||||
if ((s === 'reload' || !this.getProp('cache')) && this.value.indexOf('base64') === -1) {
|
||||
cache_query = (this.value.indexOf('?') != -1 ? '&' : '?') + Date.now()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue