mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Solves #1077
Calling updateWidth() prior to redrawing solves issue #1077
This commit is contained in:
parent
58ace7ee6c
commit
7fd1d9e328
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user