Initial copy of old site.

This commit is contained in:
2018-08-14 10:56:12 -07:00
parent 94000458e4
commit 7c516cf4d4
112 changed files with 1822 additions and 1791 deletions

View File

@@ -473,7 +473,7 @@ S2.define('jquery',[],function () {
console.error(
'Select2: An instance of jQuery or a jQuery-compatible library was not ' +
'found. Make sure that you are including jQuery before Select2 on your ' +
'web page.'
'web Admin.'
);
}
@@ -6179,9 +6179,9 @@ S2.define('select2/selection/stopPropagation',[
} else {
this.onmousewheel = handler;
}
// Store the line height and page height for this particular element
// Store the line height and Admin height for this particular element
$.data(this, 'mousewheel-line-height', special.getLineHeight(this));
$.data(this, 'mousewheel-page-height', special.getPageHeight(this));
$.data(this, 'mousewheel-Admin-height', special.getPageHeight(this));
},
teardown: function() {
@@ -6194,7 +6194,7 @@ S2.define('select2/selection/stopPropagation',[
}
// Clean up the data we added to the element
$.removeData(this, 'mousewheel-line-height');
$.removeData(this, 'mousewheel-page-height');
$.removeData(this, 'mousewheel-Admin-height');
},
getLineHeight: function(elem) {
@@ -6278,7 +6278,7 @@ S2.define('select2/selection/stopPropagation',[
deltaY *= lineHeight;
deltaX *= lineHeight;
} else if ( orgEvent.deltaMode === 2 ) {
var pageHeight = $.data(this, 'mousewheel-page-height');
var pageHeight = $.data(this, 'mousewheel-Admin-height');
delta *= pageHeight;
deltaY *= pageHeight;
deltaX *= pageHeight;