From c4790f23747f8f90149032846f773eccbb482c16 Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Wed, 19 Jul 2023 00:12:06 +0530 Subject: [PATCH] Fix syntax error in isJqueryEventDataTransfer function This commit resolves a syntax error in the isJqueryEventDataTransfer function. The syntax error occur due to `/` which is remove in this patch. Change-Id: I77299d9f3275e490e0f7e6d2cef91d7f2166dacf --- xstatic/pkg/angular_lrdragndrop/__init__.py | 2 +- xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xstatic/pkg/angular_lrdragndrop/__init__.py b/xstatic/pkg/angular_lrdragndrop/__init__.py index 68d71ed..206ee6a 100644 --- a/xstatic/pkg/angular_lrdragndrop/__init__.py +++ b/xstatic/pkg/angular_lrdragndrop/__init__.py @@ -17,7 +17,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') VERSION = '1.0.2' # version of the packaged files, please use the upstream # version number -BUILD = '5' # our package build number, so we can release new builds +BUILD = '6' # our package build number, so we can release new builds # with fixes for xstatic stuff. PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi diff --git a/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js b/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js index 16641c3..ce54176 100644 --- a/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js +++ b/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js @@ -4,7 +4,7 @@ function isJqueryEventDataTransfer(){ return window.jQuery && (!window.jQuery.event.special.dataTransfer || !window.jQuery.event.special.dataTransfer.props || -1 === - window.jQuery.event.special.dataTransfer.props.indexOf('dataTransfer'));/ + window.jQuery.event.special.dataTransfer.props.indexOf('dataTransfer')); } if (isJqueryEventDataTransfer()) {