Update 11.08.2020
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
(function ($) {
|
||||
'use strict';
|
||||
|
||||
// Preloader js
|
||||
// Preloader js
|
||||
$(window).on('load', function () {
|
||||
$('.preloader').fadeOut(100);
|
||||
});
|
||||
@ -20,7 +20,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
// Background-images
|
||||
$('[data-background]').each(function () {
|
||||
@ -103,5 +103,21 @@
|
||||
});
|
||||
});
|
||||
|
||||
var containerEl = document.querySelector('.shuffle-wrapper');
|
||||
if (containerEl) {
|
||||
var Shuffle = window.Shuffle;
|
||||
var myShuffle = new Shuffle(document.querySelector('.shuffle-wrapper'), {
|
||||
itemSelector: '.shuffle-item',
|
||||
buffer: 1
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
jQuery('input[name="shuffle-filter"]').on('change', function (evt) {
|
||||
var input = evt.currentTarget;
|
||||
if (input.checked) {
|
||||
myShuffle.filter(input.value);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
@ -125,3 +125,7 @@
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
border: 100px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user