Calling updateWidth() prior to redrawing solves issue #1077
This commit is contained in:
Scott Bedard 2015-05-02 17:53:14 -04:00
parent 58ace7ee6c
commit 7fd1d9e328

View File

@ -40,7 +40,7 @@
$(window).resize($.proxy(this.updateWidth, this))
this.updateWidth()
if (!Modernizr.touch)
if (!Modernizr.touch)
this.$el.sortable({
vertical: false,
handle: '.drag-handle',
@ -95,6 +95,7 @@
})
window.setTimeout(function(){
self.updateWidth();
self.redraw();
}, 200)
this.setSortOrders()
@ -183,4 +184,4 @@
$('[data-control="report-container"]').reportContainer()
})
}(window.jQuery);
}(window.jQuery);