Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
(function ($, Drupal, drupalSettings) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Store the state of weight columns display for all tables.
|
||||
|
@ -236,7 +236,7 @@
|
|||
|
||||
// Add event bindings to the document. The self variable is passed along
|
||||
// as event handlers do not have direct access to the tableDrag object.
|
||||
if (Modernizr.touch) {
|
||||
if (Modernizr.touchevents) {
|
||||
$(document).on('touchmove', function (event) { return self.dragRow(event.originalEvent.touches[0], self); });
|
||||
$(document).on('touchend', function (event) { return self.dropRow(event.originalEvent.touches[0], self); });
|
||||
}
|
||||
|
@ -460,7 +460,7 @@
|
|||
$item.find('td').eq(0).prepend(handle);
|
||||
}
|
||||
|
||||
if (Modernizr.touch) {
|
||||
if (Modernizr.touchevents) {
|
||||
handle.on('touchstart', function (event) {
|
||||
event.preventDefault();
|
||||
event = event.originalEvent.touches[0];
|
||||
|
|
Reference in a new issue