diff options
author | Gilmore Davidson <gilmoreorless@gmail.com> | 2011-02-13 18:11:40 +1100 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-02-23 16:33:27 +0100 |
commit | 9626484dd5216f7597d4bb9680c95b9b210bac15 (patch) | |
tree | e525797ce158991ad4f8d82afb95f791e0ff984f /ui/jquery.effects.pulsate.js | |
parent | c37637ee99ed737d2f81b58cb4d307fc01791319 (diff) | |
download | jquery-ui-9626484dd5216f7597d4bb9680c95b9b210bac15.tar.gz jquery-ui-9626484dd5216f7597d4bb9680c95b9b210bac15.zip |
Fixed #6979 - Several components are leaking variables into the global scope
Diffstat (limited to 'ui/jquery.effects.pulsate.js')
-rw-r--r-- | ui/jquery.effects.pulsate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.effects.pulsate.js b/ui/jquery.effects.pulsate.js index 8eb999017..1b3cb00f8 100644 --- a/ui/jquery.effects.pulsate.js +++ b/ui/jquery.effects.pulsate.js @@ -15,8 +15,8 @@ $.effects.pulsate = function(o) { return this.queue(function() { var elem = $(this), - mode = $.effects.setMode(elem, o.options.mode || 'show'); - times = ((o.options.times || 5) * 2) - 1; + mode = $.effects.setMode(elem, o.options.mode || 'show'), + times = ((o.options.times || 5) * 2) - 1, duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2, isVisible = elem.is(':visible'), animateTo = 0; |