core/core.libraries.yml | 8 ++++++-- core/modules/quickedit/js/views/EntityToolbarView.es6.js | 6 +----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 38b1520e65..b17d3ef783 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -963,6 +963,10 @@ drupal.dialog.off_canvas: - core/drupal.dialog.ajax popperjs: - version: VERSION + version: "1.15.0" + license: + name: MIT + url: https://github.com/FezVrasta/popper.js/blob/v1.15.0/LICENSE.md + gpl-compatible: true js: - assets/vendor/popperjs/popper.js: {} + assets/vendor/popperjs/popper.min.js: { minified: true } diff --git a/core/modules/quickedit/js/views/EntityToolbarView.es6.js b/core/modules/quickedit/js/views/EntityToolbarView.es6.js index d6f207c13a..13a2c53f75 100644 --- a/core/modules/quickedit/js/views/EntityToolbarView.es6.js +++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js @@ -292,6 +292,7 @@ /** * Refines popper positioning. + * * @param {object} data * Data object containing popper and target data. */ @@ -329,11 +330,6 @@ ) { data.offsets.popper.top = fenceTop + fenceHeight - toolbarHeight; } - // Position the toolbar. - // $(data.instance.popper).css({ - // left: Math.floor(data.offsets.popper.left), - // top: Math.floor(data.offsets.popper.top), - // }); } /** * Calls the Popper() method on the $el of this view.