]> source.dussan.org Git - jquery.git/commit
Effect: Fix a unnecessary conditional statement in .stop()
authorWonseop Kim <wonseop.kim@samsung.com>
Wed, 1 May 2019 12:57:55 +0000 (21:57 +0900)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 1 May 2019 12:57:55 +0000 (14:57 +0200)
commit110802c7f22b677ef658963aa95ebdf5cb9c5573
tree6b7e5aa75c49bd4068e5aea8eaab331d34225605
parentb220f6df88d34dd908f55d57417fcec377787e5c
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' variable
is always unnecessary because it return true. The patch removed the
unnecessary conditional statement.

Fixes gh-4374
Closes gh-4375
src/effects.js