update ready state

dev
Aji Kamaludin 5 years ago
parent 5d61c12500
commit 24a2dca137
No known key found for this signature in database
GPG Key ID: 23E2BDC458317AF8

@ -20,7 +20,8 @@ $(window).on('load', function() {
/*------------------
Background set
--------------------*/
document.addEventListener("DOMContentLoaded", function() {
// document.addEventListener("DOMContentLoaded", function() {
$(document).ready(function() {
$('.set-bg').each(function() {
var bg = $(this).data('setbg');
$(this).css('background-image', 'url(' + bg + ')');

Loading…
Cancel
Save