Skip to content

Commit 9e58941

Browse files
committed
read data-* attributes
read data-* attributes
1 parent ddea7ec commit 9e58941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap-wysihtml5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
});
351351
},
352352
shallowExtend: function (options) {
353-
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {});
353+
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {}, $(this).data());
354354
var that = this;
355355
return methods.bypassDefaults.apply(that, [settings]);
356356
},

0 commit comments

Comments
 (0)