Skip to content

Commit 2bacaad

Browse files
committed
Merge pull request jhollingworth#241 from da-ff/patch-1
read data-* attributes
2 parents ddea7ec + 9e58941 commit 2bacaad

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)