updated core to 8.6.1 via composer
This commit is contained in:
@@ -6,18 +6,6 @@
|
||||
**/
|
||||
|
||||
(function ($, Drupal, window) {
|
||||
Drupal.behaviors.tableResponsive = {
|
||||
attach: function attach(context, settings) {
|
||||
var $tables = $(context).find('table.responsive-enabled').once('tableresponsive');
|
||||
if ($tables.length) {
|
||||
var il = $tables.length;
|
||||
for (var i = 0; i < il; i++) {
|
||||
TableResponsive.tables.push(new TableResponsive($tables[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function TableResponsive(table) {
|
||||
this.table = table;
|
||||
this.$table = $(table);
|
||||
@@ -33,6 +21,18 @@
|
||||
$(window).on('resize.tableresponsive', $.proxy(this, 'eventhandlerEvaluateColumnVisibility')).trigger('resize.tableresponsive');
|
||||
}
|
||||
|
||||
Drupal.behaviors.tableResponsive = {
|
||||
attach: function attach(context, settings) {
|
||||
var $tables = $(context).find('table.responsive-enabled').once('tableresponsive');
|
||||
if ($tables.length) {
|
||||
var il = $tables.length;
|
||||
for (var i = 0; i < il; i++) {
|
||||
TableResponsive.tables.push(new TableResponsive($tables[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$.extend(TableResponsive, {
|
||||
tables: []
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user