]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 Sep 2013 08:57:21 +0000 (08:57 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 20 Sep 2013 08:57:21 +0000 (08:57 +0000)
js/libs/fluidbook/fluidbook.loader.js

index e1278f43f2a24467f230c8f3f1af38ccec67fb26..6b9124b0575352d95467dfa23bf081b42c5b630d 100644 (file)
@@ -14,7 +14,7 @@ function FluidbookLoader(fluidbook) {
 FluidbookLoader.prototype = {
        preloadPagesBeforeTransition: function(pages, callback) {
                var $this = this;
-               var $pages= pages.slice(0);
+               var $pages = pages.slice(0);
                if ($pages.length == 0) {
                        callback();
                        return;
@@ -264,6 +264,10 @@ FluidbookLoader.prototype = {
                $(this.imagesErrors).each(function() {
                        $(this).attr('src', $(this).attr('src'));
                });
+               $("#interface img,#nav img").each(function() {
+                       $(this).attr('src', '');
+                       $(this).attr('src', $(this).attr('src'));
+               });
                this.imagesErrors = [];
        }
 };
\ No newline at end of file