nodebb-theme-lavender
Advanced tools
Comparing version 5.0.4 to 5.0.5
{ | ||
"name": "nodebb-theme-lavender", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Lavender Theme for NodeBB", | ||
@@ -5,0 +5,0 @@ "main": "theme.less", |
@@ -6,7 +6,9 @@ $('document').ready(function() { | ||
], function(Masonry, imagesLoaded) { | ||
var fixed = localStorage.getItem('fixed') || 1, | ||
masonry; | ||
var fixed = localStorage.getItem('fixed') || 1; | ||
var masonry; | ||
var masonryCalled = false; | ||
function doMasonry() { | ||
if($('.masonry').length) { | ||
masonryCalled = true; | ||
if ($('.masonry').length) { | ||
masonry = new Masonry('.masonry', { | ||
@@ -85,2 +87,6 @@ itemSelector: '.category-item', | ||
if ($('.masonry').length && !masonryCalled) { | ||
doMasonry(); | ||
} | ||
function setupResizer() { | ||
@@ -87,0 +93,0 @@ var div = $('<div class="overlay-container"><div class="panel resizer pointer"><div class="panel-body"><i class="fa fa-arrows-h fa-2x"></i></div></div></div>'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254133
27
3361