diff --git a/src/modules/popup.js b/src/modules/popup.js index e02d149d5..68fb167c7 100755 --- a/src/modules/popup.js +++ b/src/modules/popup.js @@ -167,12 +167,14 @@ $.fn.popup = function(parameters) { if(settings.inline) { module.verbose('Inserting popup element inline', $popup); $popup + .data(moduleNamespace, instance) .insertAfter($module) ; } else { module.verbose('Appending popup element to body', $popup); $popup + .data(moduleNamespace, instance) .appendTo( $context ) ; } @@ -274,8 +276,8 @@ $.fn.popup = function(parameters) { conditions: function() { if(module.cache && module.cache.title) { $module.attr('title', module.cache.title); + module.verbose('Restoring original attributes', module.cache.title); } - module.verbose('Restoring original attributes', module.cache.title); return true; } },