File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 152
152
if ( totalDifference < options . intentSensitivity ) {
153
153
element . data ( 'hasActiveHover' , true ) ;
154
154
// show popup, asap
155
- tipElement . queue ( function ( ) {
155
+ tipElement . queue ( function ( next ) {
156
156
showTip ( element ) ;
157
+ next ( ) ;
157
158
} ) ;
158
159
} else {
159
160
// try again
172
173
// if the popup is open and we got asked to open another one then
173
174
// the old one is still in its fadeOut cycle, so wait and try again
174
175
if ( session . isPopOpen ) {
175
- tipElement . queue ( function ( ) {
176
+ tipElement . delay ( 100 ) . queue ( function ( next ) {
176
177
showTip ( element ) ;
178
+ next ( ) ;
177
179
} ) ;
178
180
return ;
179
181
}
209
211
tipElement . data ( 'mouseOnToPopup' , options . mouseOnToPopup ) ;
210
212
211
213
// fadein
212
- tipElement . stop ( true , true ) . fadeIn ( options . fadeInTime , function ( ) {
214
+ tipElement . fadeIn ( options . fadeInTime , function ( ) {
213
215
// start desync polling
214
216
if ( ! session . desyncTimeout ) {
215
217
session . desyncTimeout = setInterval ( closeDesyncedTip , 500 ) ;
224
226
*/
225
227
function hideTip ( element ) {
226
228
element . data ( 'hasActiveHover' , false ) ;
227
- tipElement . stop ( true , true ) . fadeOut ( options . fadeOutTime , function ( ) {
229
+ tipElement . fadeOut ( options . fadeOutTime , function ( ) {
228
230
session . activeHover = null ;
229
231
session . isPopOpen = false ;
230
232
session . isFixedPopOpen = false ;
You can’t perform that action at this time.
0 commit comments