]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes a problem where an emptied cache from update_images won't be repopulated by... 4000/head
authorPaul Stevens <oxidus@oxidus.de>
Fri, 27 Dec 2013 19:06:31 +0000 (20:06 +0100)
committerPaul Stevens <oxidus@oxidus.de>
Fri, 27 Dec 2013 19:06:31 +0000 (20:06 +0100)
js/foundation/foundation.interchange.js

index d227a21843da1e81577450a7716c129bd77d5cb5..5c36c2de08a7b3e335b9a13a793aa6078efb3240 100644 (file)
       var uuid = this.uuid(),
           current_uuid = el.data('uuid');
 
-      if (current_uuid) return this.cache[current_uuid];
+      if (this.cache[current_uuid]) return this.cache[current_uuid];
 
       el.attr('data-uuid', uuid);