Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/it-gro/hugo-theme-w3css-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorit-gro <grossnik@tuvok>2018-05-31 09:24:53 +0300
committerit-gro <grossnik@tuvok>2018-05-31 09:24:53 +0300
commit4f113a998b215547bfc34613d0eb8cdbd558334d (patch)
tree287fb8e2249ab5a268f10d4b712ea8278c35f397 /static
parentc462815fd9ab1ddef550743a8b866d50b969a641 (diff)
Remove tracing messages
Diffstat (limited to 'static')
-rw-r--r--static/js/res-gallery-load-photoswipe.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/js/res-gallery-load-photoswipe.js b/static/js/res-gallery-load-photoswipe.js
index cd3f11e..5e47e40 100644
--- a/static/js/res-gallery-load-photoswipe.js
+++ b/static/js/res-gallery-load-photoswipe.js
@@ -41,7 +41,7 @@ $( document ).ready(function() {
, title : ($title ? $title : "") + ($title_footer ? ($title ? "<br/><small>" : "") + $title_footer + ($title ? "</small>" : "" ) : "")
, msrc : $msrc
};
- console.log("Using pre-defined dimensions for " + $src);
+ // console.log("Using pre-defined dimensions for " + $src);
// if not, set temp default size then load the image to check actual size
} else {
var item = {
@@ -51,7 +51,7 @@ $( document ).ready(function() {
, title : ($title ? $title : "") + ($title_footer ? ($title ? "<br/><small>" : "") + $title_footer + ($title ? "</small>" : "" ) : "")
, msrc : $msrc
};
- console.log("Using default dimensions for " + $src);
+ // console.log("Using default dimensions for " + $src);
// load the image to check its dimensions
// update the item as soon as w and h are known (check every 30ms)
var img = new Image();
@@ -63,7 +63,7 @@ $( document ).ready(function() {
clearInterval(wait);
item.w = w;
item.h = h;
- console.log("Got actual dimensions for " + img.src);
+ // console.log("Got actual dimensions for " + img.src);
}
}, 30);
}