Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jquery.sortable-table.js')
-rw-r--r--js/src/jquery.sortable-table.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/src/jquery.sortable-table.js b/js/src/jquery.sortable-table.js
index 230565ed5e..ae3e5d1321 100644
--- a/js/src/jquery.sortable-table.js
+++ b/js/src/jquery.sortable-table.js
@@ -1,3 +1,5 @@
+import $ from 'jquery';
+
/**
* This file is internal to phpMyAdmin.
* @license see the main phpMyAdmin license.
@@ -39,7 +41,7 @@
* which is the actually draggable element.
*/
(function ($) {
- jQuery.fn.sortableTable = function (method) {
+ $.fn.sortableTable = function (method) {
var methods = {
init: function (options) {
var tb = new SortableTableInstance(this, options);
@@ -290,4 +292,4 @@
}
}
};
-}(jQuery));
+}($));