* hide the create block icon use another one if there is no block.

This commit is contained in:
chenfeiCF
2016-05-13 09:55:01 +08:00
parent a193e356ee
commit dcd0285cf1
+1
View File
@@ -50,6 +50,7 @@ function checkEmpty()
var $dashboard = $('#dashboard');
var hasBlocks = !!$dashboard.children('.row').children().length;
$dashboard.find('.dashboard-empty-message').toggleClass('hide', hasBlocks);
if(!hasBlocks) $dashboard.find('.dashboard-actions').addClass('hide');
}
/**