Browse Source

Merge pull request #2492 from rodrigoddalmeida/patch-1

Fixes "SyntaxError: unreachable code after return statement"
pull/2502/head
Jack Lukic 10 years ago
parent
commit
5306c8c21e
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/transition.js

2
src/definitions/modules/transition.js

@ -614,7 +614,7 @@ $.fn.transition = function() {
}, },
userStyle: function(style) { userStyle: function(style) {
style = style || $module.attr('style') || ''; style = style || $module.attr('style') || '';
return style.replace(/display.*?;/, '');;
return style.replace(/display.*?;/, '');
}, },
transitionExists: function(animation) { transitionExists: function(animation) {
return $.fn.transition.exists[animation]; return $.fn.transition.exists[animation];

Loading…
Cancel
Save