Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In the 3.20 release the modal title has also the attributes of the modal header - namely, the "modal-header" class.
I don't know if this is a intentional behavior; judging by the result I suspect not. Anyway this may break the layout for existing sites.
The culprit is in the line 523 and following of "Modal.js":
if (typeof variables.title === 'string') {
variables.title = $.extend({}, defaults, { content: variables.title });
}
$.extend also merge the attributes of the var defaults, which contains the aforementioned "modal-header" class.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3064547-4.patch | 1.1 KB | markhalliwell |
Comments
Comment #2
Giuseppe87 CreditAttribution: Giuseppe87 at Elicos commentedComment #3
markhalliwellComment #4
markhalliwell