Skip to content
Snippets Groups Projects
Commit d314bb61 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

small changes

parent 11eb22be
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,14 @@ define(['jquery', 'underscore', 'backbone', 'appState'], function($, _, Backbone
},
_setVisibility: function(){
if (appState.get("consoleIsVisible")) this._show();
if (this._isVisible()) this._show();
else this._hide();
},
_isVisible: function(){
return appState.get("consoleIsVisible");
},
write: function(string){
this._writeOutput(string + "<br/>");
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment