Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit110802c

Browse files
wonseopmgol
authored andcommitted
Effect: Fix a unnecessary conditional statement in .stop()
Because of the above conditional, the 'type' variable has a value of type'string' or undefined. Therefore, boolean comparisons for 'type' variableis always unnecessary because it return true. The patch removed theunnecessary conditional statement.Fixesgh-4374Closesgh-4375
1 parentb220f6d commit110802c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/effects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ jQuery.fn.extend( {
538538
clearQueue=type;
539539
type=undefined;
540540
}
541-
if(clearQueue&&type!==false){
541+
if(clearQueue){
542542
this.queue(type||"fx",[]);
543543
}
544544

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp