Verified Commit 2aca7dfd authored by Marco Kellershoff's avatar Marco Kellershoff 🤸
Browse files

Fix hidden col, when not compilable

parent 10484741
......@@ -416,19 +416,19 @@
if (is_compilable === false) {
window.$('#col1').removeClass('col-xs-6');
window.$('#col1').addClass('col-xs-12');
window.$('col2').addClass('hidden');
window.$('#col2').addClass('hidden');
} else {
window.$('col1').addClass('col-xs-6');
window.$('col1').removeClass('col-xs-12');
window.$('col2').removeClass('hidden');
window.$('#col1').addClass('col-xs-6');
window.$('#col1').removeClass('col-xs-12');
window.$('#col2').removeClass('hidden');
}
};
this.showAndHideRun = function() {
var is_compilable = self.isCompilable();
window.$('col1').removeClass('col-xs-6');
window.$('col1').addClass('col-xs-12');
window.$('col2').addClass('hidden');
window.$('#col1').removeClass('col-xs-6');
window.$('#col1').addClass('col-xs-12');
window.$('#col2').addClass('hidden');
if (is_compilable === false) {
window.$('#btn_run').get(0).style.display = 'none';
} else {
......
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 to comment