提交 b230bda2 编写于 作者: S Sercan

Fixed switch view

上级 9a1a6d86
......@@ -36,6 +36,10 @@ Template.browseCollection.events({
var jsonView = $('#divJsonEditor');
var aceView = $('#divAceEditor');
if (jsonView.css('display') == 'none' && aceView.css('display') == 'none') {
return;
}
if (jsonView.css('display') == 'none') {
aceView.hide();
jsonView.show('slow');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册