Skip to content

Commit 7b6a532

Browse files
author
Daniel Heffner
committed
master: Fix for jQuery deprecation of event shorthand: resize
1 parent 11ad353 commit 7b6a532

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

src/jquery.columnizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
columnizeIt();
213213

214214
if(!options.buildOnce){
215-
$(window).resize(function() {
215+
$(window).on('resize', function() {
216216
if(!options.buildOnce){
217217
if($inBox.data("timeout")){
218218
clearTimeout($inBox.data("timeout"));

src/jquery.columnizer.min.js

Lines changed: 14 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)