提交 2481d650 编写于 作者: S superRaytin 提交者: 羽牧

Changes: Fixes for 'show'、'hide' method.

上级 1af67c0e
......@@ -510,15 +510,19 @@
},
show: function(){
if(container.is(':visible')) return;
var self = this;
if(self.model.el.is(':visible')) return;
container.show();
self.model.el.show();
},
hide: function(){
if(!container.is(':visible')) return;
var self = this;
if(!self.model.el.is(':visible')) return;
container.hide();
self.model.el.hide();
},
// Replace the variables of template
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册