aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/manipulation.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index ff7a0d51a..31d0c4edc 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -276,7 +276,7 @@ jQuery.extend({
},
cleanData: function( elems ) {
- var data, elem, events, type, key, j,
+ var data, elem, type, key,
special = jQuery.event.special,
i = 0;
@@ -285,9 +285,8 @@ jQuery.extend({
key = elem[ data_priv.expando ];
if ( key && (data = data_priv.cache[ key ]) ) {
- events = Object.keys( data.events || {} );
- if ( events.length ) {
- for ( j = 0; (type = events[j]) !== undefined; j++ ) {
+ if ( data.events ) {
+ for ( type in data.events ) {
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
fix/opening_a_secondly_created_file'>artonge/fix/opening_a_secondly_created_file Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Conversion/IConversionProvider.php
blob: 3b5c5945c99b508f6e50f925c68851a7df203762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41