File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 207
207
* @param {Boolean} val
208
208
*/
209
209
showState (val ) {
210
+ const delay = this .getDelay (val);
211
+
210
212
clearTimeout (this ._timeout );
211
- let delay = this .getDelay (val);
212
213
213
- if (delay)
214
+ if (delay) {
214
215
this ._timeout = setTimeout (() => this .togglePopover (val), delay);
215
- else
216
+ } else {
216
217
this .togglePopover (val);
218
+ }
217
219
}
218
220
},
219
221
309
311
*/
310
312
refreshPosition () {
311
313
if (this ._tether ) {
312
- this .$nextTick (() => {this ._tether .position ()});
314
+ this .$nextTick (() => {
315
+ this ._tether .position ();
316
+ });
313
317
}
314
318
},
315
319
368
372
* @param {Array} appliedTriggers
369
373
*/
370
374
updateListeners (triggers , appliedTriggers = []) {
371
- let newTriggers = [];
372
- let removeTriggers = [];
375
+ const newTriggers = [];
376
+ const removeTriggers = [];
373
377
374
378
// Look for new events not yet mapped (all of them on first load)
375
379
triggers .forEach (item => {
You can’t perform that action at this time.
0 commit comments