diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 072d268f03..6bada936ba 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +Drupal 7.87, 2022-01-19 +----------------------- +- Fix regression caused by jQuery UI position() backport + Drupal 7.86, 2022-01-18 ----------------------- - Fixed security issues: diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index ed4bfaeaac..edfe9f39a7 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -8,7 +8,7 @@ /** * The current system version. */ -define('VERSION', '7.86'); +define('VERSION', '7.87'); /** * Core API compatibility. diff --git a/misc/ui/jquery.ui.position-1.13.0-backport.js b/misc/ui/jquery.ui.position-1.13.0-backport.js index d9331e3fc0..6567e5e2fe 100644 --- a/misc/ui/jquery.ui.position-1.13.0-backport.js +++ b/misc/ui/jquery.ui.position-1.13.0-backport.js @@ -16,6 +16,9 @@ var fnOriginalPosition = $.fn.position; $.fn.extend({ 'position': function (options) { + if (typeof options === 'undefined') { + return fnOriginalPosition.call(this); + } // Make sure string options are treated as CSS selectors var target = typeof options.of === "string" ?