diff --git a/js/scripts.js b/js/scripts.js index cfc1291b0..991868452 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -307,15 +307,6 @@ function showTiles(tiles, defaultForms) { //Display tiles $('#plugin_formcreator_wizard_forms').empty(); $('#plugin_formcreator_wizard_forms').prepend(html); - $('#plugin_formcreator_formlist').masonry({ - horizontalOrder: true, - gutter: 10 - }); - $('#plugin_formcreator_faqlist').masonry({ - horizontalOrder: true, - gutter: 10 - }); - $(".plugin_formcreator_formTile_description.tile_design_uniform_height").each(function( index ) { var length = 150; @@ -1257,12 +1248,6 @@ var plugin_formcreator = new function() { var html = '
' + i18n.textdomain('formcreator').__('An error occured while querying forms', 'formcreator') + '
' $('#plugin_formcreator_wizard_forms').empty(); $('#plugin_formcreator_wizard_forms').prepend(html); - $('#plugin_formcreator_formlist').masonry({ - horizontalOrder: true - }); - $('#plugin_formcreator_faqlist').masonry({ - horizontalOrder: true - }); } ); } @@ -1281,12 +1266,6 @@ var plugin_formcreator = new function() { var html = '' + i18n.textdomain('formcreator').__('An error occured while querying forms', 'formcreator') + '
' $('#plugin_formcreator_wizard_forms').empty(); $('#plugin_formcreator_wizard_forms').prepend(html); - $('#plugin_formcreator_formlist').masonry({ - horizontalOrder: true - }); - $('#plugin_formcreator_faqlist').masonry({ - horizontalOrder: true - }); } ); }