diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 4a2c643656..321cc0254e 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -716,7 +716,7 @@ this.collision_api = this.$helper.collision( colliders, this.options.collision); - this.$preview_holder = $('
', { + this.$preview_holder = $('<' + this.$player.get(0).tagName + ' />', { 'class': 'preview-holder', 'data-row': this.$player.attr('data-row'), 'data-col': this.$player.attr('data-col'),