|
|
@ -136,11 +136,11 @@ $.fn.dimmer = function(parameters) { |
|
|
|
|
|
|
|
addContent: function(element) { |
|
|
|
var |
|
|
|
$content = $(element).detach() |
|
|
|
$content = $(element) |
|
|
|
; |
|
|
|
module.debug('Add content to dimmer', $content); |
|
|
|
if($content.parent()[0] !== $dimmer[0]) { |
|
|
|
$dimmer.append($content); |
|
|
|
$content.detach().appendTo($dimmer); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|