Loading js/modal.js +1 −3 Original line number Diff line number Diff line Loading @@ -521,11 +521,9 @@ variables = $.extend(true, {}, defaults, variables); if (typeof variables.title === 'string') { variables.title = $.extend({}, defaults, { content: variables.title }); variables.title = $.extend({}, defaults.title, { content: variables.title }); } variables.title.attributes = Attributes.create(defaults.title.attributes).merge(variables.title.attributes); var title = Drupal.theme('bootstrapModalTitle', variables.title); if (title) { var attributes = Attributes.create(defaults.attributes).merge(variables.attributes); Loading Loading
js/modal.js +1 −3 Original line number Diff line number Diff line Loading @@ -521,11 +521,9 @@ variables = $.extend(true, {}, defaults, variables); if (typeof variables.title === 'string') { variables.title = $.extend({}, defaults, { content: variables.title }); variables.title = $.extend({}, defaults.title, { content: variables.title }); } variables.title.attributes = Attributes.create(defaults.title.attributes).merge(variables.title.attributes); var title = Drupal.theme('bootstrapModalTitle', variables.title); if (title) { var attributes = Attributes.create(defaults.attributes).merge(variables.attributes); Loading