提交 40a395ac 编写于 作者: C Catouse

* fix default options not work on call show method in modal trigger.

上级 f5f1f933
......@@ -115,7 +115,7 @@
ModalTrigger.prototype.show = function(option) {
var that = this;
var options = $.extend({}, that.options, {
var options = $.extend({}, ModalTrigger.DEFAULTS, that.options, {
url: that.$trigger ? (that.$trigger.attr('href') || that.$trigger.attr('data-url') || that.$trigger.data('url')) : that.options.url
}, option);
var isShown = that.isShown;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册