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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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" ?