Skip to content
Snippets Groups Projects
Commit 7d9904f5 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3259465 by dsnopek, cboyden, effulgentsia: Fix regression caused by...

Issue #3259465 by dsnopek, cboyden, effulgentsia: Fix regression caused by jQuery UI position() backport
parent c8b6c74f
No related branches found
No related tags found
1 merge request!7330Issue #3306390 by poker10, catch, Fabianx, pwolanin, rvtraveller: [D7]...
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
var fnOriginalPosition = $.fn.position; var fnOriginalPosition = $.fn.position;
$.fn.extend({ $.fn.extend({
'position': function (options) { 'position': function (options) {
if (typeof options === 'undefined') {
return fnOriginalPosition.call(this);
}
// Make sure string options are treated as CSS selectors // Make sure string options are treated as CSS selectors
var target = typeof options.of === "string" ? var target = typeof options.of === "string" ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment