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

github.com/geschke/hugo-tikva.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/functions.js')
-rw-r--r--static/js/functions.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/static/js/functions.js b/static/js/functions.js
index 906c3e6..6d5c800 100644
--- a/static/js/functions.js
+++ b/static/js/functions.js
@@ -156,8 +156,6 @@
} else { // >= 1200
mediaDetectSize = 'xl';
}
- console.log(mediaSize);
- console.log(mediaDetectSize);
if (mediaDetectSize != mediaSize || mediaDetectSize == 'xs') {
mediaSize = mediaDetectSize;
$.headerImageResize(mediaSize);
@@ -194,7 +192,7 @@
} );
$(window).on('load', function() {
- console.log(azbalacHeaderImage);
+
if (!$('#site-header-image').length) {
return;
}
@@ -241,9 +239,7 @@ $( '.dropdown-menu a.dropdown-toggle' ).on( 'click', function ( e ) {
$(window).on('load', function() {
-var foobar = $('#main').width();
-console.log(foobar);
-var elementSize = foobar;
+var elementSize = $('#main').width();
if (elementSize < 540) {
mediaDetectSize = 'xs';
} else if (elementSize >= 540 && elementSize < 720) {
@@ -255,8 +251,6 @@ if (elementSize < 540) {
} else { // >= 1200
mediaDetectSize = 'xl';
}
-console.log(mediaSize);
-console.log(mediaDetectSize);
});