Loading core/modules/quickedit/js/views/EntityToolbarView.es6.js +2 −2 Changes for core/modules/quickedit/js/views/EntityToolbarView.es6.js: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -299,9 +299,9 @@ function refinePopper(data) { // Determine if the pointer should be on the top or bottom. const isBelow = data.offsets.popper.top > data.offsets.reference.top; data.instance.popper.classList.toggle( const classListMethod = isBelow ? 'add' : 'remove'; data.instance.popper.classList[classListMethod]( 'quickedit-toolbar-pointer-top', isBelow, ); // Don't position the toolbar past the first or last editable field if // the entity is the target. Loading core/modules/quickedit/js/views/EntityToolbarView.js +2 −1 Changes for core/modules/quickedit/js/views/EntityToolbarView.js: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ function refinePopper(data) { var isBelow = data.offsets.popper.top > data.offsets.reference.top; data.instance.popper.classList.toggle('quickedit-toolbar-pointer-top', isBelow); var classListMethod = isBelow ? 'add' : 'remove'; data.instance.popper.classList[classListMethod]('quickedit-toolbar-pointer-top'); if (that.$entity[0] === data.instance.reference) { var $field = that.$entity.find('.quickedit-editable').eq(isBelow ? -1 : 0); Loading Loading
core/modules/quickedit/js/views/EntityToolbarView.es6.js +2 −2 Changes for core/modules/quickedit/js/views/EntityToolbarView.es6.js: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -299,9 +299,9 @@ function refinePopper(data) { // Determine if the pointer should be on the top or bottom. const isBelow = data.offsets.popper.top > data.offsets.reference.top; data.instance.popper.classList.toggle( const classListMethod = isBelow ? 'add' : 'remove'; data.instance.popper.classList[classListMethod]( 'quickedit-toolbar-pointer-top', isBelow, ); // Don't position the toolbar past the first or last editable field if // the entity is the target. Loading
core/modules/quickedit/js/views/EntityToolbarView.js +2 −1 Changes for core/modules/quickedit/js/views/EntityToolbarView.js: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ function refinePopper(data) { var isBelow = data.offsets.popper.top > data.offsets.reference.top; data.instance.popper.classList.toggle('quickedit-toolbar-pointer-top', isBelow); var classListMethod = isBelow ? 'add' : 'remove'; data.instance.popper.classList[classListMethod]('quickedit-toolbar-pointer-top'); if (that.$entity[0] === data.instance.reference) { var $field = that.$entity.find('.quickedit-editable').eq(isBelow ? -1 : 0); Loading