Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Popup: Lowered the closing delay from 150ms to 50ms. Makes response f…

…aster since the _closeTry and _closeVet approach is working smooth.
  • Loading branch information...
commit a3cd4fd09e9b58b463ccccebdac1bef45339e176 1 parent aa135de
Rafael Xavier de Souza authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 ui/jquery.ui.popup.js
4 ui/jquery.ui.popup.js
@@ -202,7 +202,7 @@ $.widget( "ui.popup", {
202 202 this.closeTimer = this._delay( function() {
203 203 this.close( event );
204 204 this.closeTimer = null;
205   - }, 150 );
  205 + }, 50 );
206 206 },
207 207
208 208 // Vets any close attempt in a timed window.
@@ -210,7 +210,7 @@ $.widget( "ui.popup", {
210 210 this.closeVeto = true;
211 211 this._delay( function() {
212 212 this.closeVeto = false;
213   - }, 150 );
  213 + }, 50 );
214 214 if ( this.closeTimer ) {
215 215 clearTimeout( this.closeTimer );
216 216 this.closeTimer = null;

0 comments on commit a3cd4fd

Please sign in to comment.
Something went wrong with that request. Please try again.