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
This commit is contained in:
manchandavishal 2023-07-19 00:12:06 +05:30
parent fbbb6e2cb3
commit c4790f2374
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()) {