Skip to content

Commit

Permalink
read data-* attributes
Browse files Browse the repository at this point in the history
read data-* attributes
  • Loading branch information
d42f committed Apr 14, 2013
1 parent ddea7ec commit 9e58941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap-wysihtml5.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
});
},
shallowExtend: function (options) {
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {});
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {}, $(this).data());
var that = this;
return methods.bypassDefaults.apply(that, [settings]);
},
Expand Down

0 comments on commit 9e58941

Please sign in to comment.