diff --git a/src/definitions/modules/transition.js b/src/definitions/modules/transition.js index 7e3c77cd8..5e5f85b35 100644 --- a/src/definitions/modules/transition.js +++ b/src/definitions/modules/transition.js @@ -71,8 +71,8 @@ $.fn.transition = function() { // define namespace eventNamespace = '.' + settings.namespace; - instance = $module.data(moduleNamespace) || module; moduleNamespace = 'module-' + settings.namespace; + instance = $module.data(moduleNamespace) || module; // get vendor specific events animationEnd = module.get.animationEndEvent(); @@ -93,6 +93,7 @@ $.fn.transition = function() { instantiate: function() { module.verbose('Storing instance of module', module); + instance = module; $module .data(moduleNamespace, instance) ;