Commit 3936e635 by Kálmán Viktor

dashboard: fix js in vm create

parent 2a91985c
......@@ -38,10 +38,6 @@ $(function () {
$("a[href=" + window.location.hash +"]").tab('show');
vmCreateLoaded();
/* no js compatibility */
$('.no-js-hidden').show();
$('.js-hidden').hide();
});
function vmCreateTemplateChange(new_this) {
......@@ -144,6 +140,13 @@ function vmCreateLoaded() {
return false;
});
/* no js compatibility */
$('.no-js-hidden').show();
$('.js-hidden').hide();
/* slider things */
$("[data-slider]").each(function() {
if($(this).css('display') != "none")
$(this).simpleSlider();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment