From b823207e1fe9586a11f971a62a5153bf5dc90024 Mon Sep 17 00:00:00 2001 From: Dernerd Date: Wed, 12 Jun 2024 21:15:15 +0200 Subject: [PATCH] jQuery 3.0 Updates --- asset/js/brainpress-unitsbuilder.js | 2 +- .../brainpress-reorder-pages/brainpress-reorder-pages-css.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/asset/js/brainpress-unitsbuilder.js b/asset/js/brainpress-unitsbuilder.js index d78c9d3..8fe2456 100644 --- a/asset/js/brainpress-unitsbuilder.js +++ b/asset/js/brainpress-unitsbuilder.js @@ -339,7 +339,7 @@ var BrainPress = BrainPress || {}; inputs = target.find( 'input' ) ; inputs.attr( 'readonly', ! is_checked ); - }).change(); + }).trigger('change'); }; BrainPress.Helpers.Module.quiz.render_component = function( module ) { diff --git a/include/brainpress-reorder-pages/brainpress-reorder-pages-css.css b/include/brainpress-reorder-pages/brainpress-reorder-pages-css.css index ae4a9bd..9c128a8 100644 --- a/include/brainpress-reorder-pages/brainpress-reorder-pages-css.css +++ b/include/brainpress-reorder-pages/brainpress-reorder-pages-css.css @@ -141,7 +141,7 @@ span.ema-unit-name { .ema-modal-header-btn.ema-modal-trigger { z-index: 200; - position: absolute; + position: inherit; left: -20px; top: 820px; }