kopia lustrzana https://github.com/wagtail/wagtail
Changed the way width is defined in getWidth to prevent the 'delete'
button from being pushed off the edge of the window.pull/1705/merge
rodzic
126a073ecb
commit
21bc99c11d
|
@ -14,7 +14,7 @@ function initTable(id, tableOptions) {
|
|||
var structureEvent;
|
||||
var dataForForm = null;
|
||||
var getWidth = function() {
|
||||
return $('footer').innerWidth();
|
||||
return $('.widget-table_input').closest('.sequence-member-inner').width();
|
||||
};
|
||||
|
||||
try {
|
||||
|
|
Ładowanie…
Reference in New Issue