diff --git a/src/core/content.js b/src/core/content.js index bf30fae7..c5190d99 100644 --- a/src/core/content.js +++ b/src/core/content.js @@ -26,7 +26,7 @@ PROTOTYPE._update = function(content, element, reposition) { // Append new content if its a DOM array and show it if hidden if(content.jquery && content.length > 0) { - element.empty().append( content.css({ display: 'block' }) ); + element.children().detach().end().append( content.css({ display: 'block' }) ); } // Content is a regular string, insert the new content