Bootstrap-Confirmation
Bootstrap-Confirmation copied to clipboard
data atributs overwrite global settings
It would be great if i have possibility to set global common setting (per project) with method .confirmation({ "many options"}) and do any small extra settings on a particular button over data attributes. (data attributs will overwrite global setting)
@jankrnavek as for the global settings, you can simply extend $.fn.confirmation.defaults like so: $.extend($.fn.confirmation.defaults, {...})
But I agree on the request, that programmatic settings should have priority over data attributes, assuming they differ from the default values.