зеркало из https://github.com/mozilla/pjs.git
Bug 398407 - Animated gif images only working once on mouseover/mouseout, patch by Andrew Smith, r=pavlov, a=pavlov (+blocking1.9+)
This commit is contained in:
Родитель
8ff38f4361
Коммит
85b6f9c458
|
@ -361,7 +361,7 @@ NS_IMETHODIMP imgContainer::StopAnimation()
|
|||
NS_IMETHODIMP imgContainer::ResetAnimation()
|
||||
{
|
||||
if (mAnimationMode == kDontAnimMode ||
|
||||
!mAnim || mAnim->currentAnimationFrameIndex)
|
||||
!mAnim || mAnim->currentAnimationFrameIndex == 0)
|
||||
return NS_OK;
|
||||
|
||||
PRBool oldAnimating = mAnim->animating;
|
||||
|
|
Загрузка…
Ссылка в новой задаче