Révision 388c412d
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/media/modules/media_wysiwyg/js/media_wysiwyg.filter.js | ||
---|---|---|
238 | 238 |
if (info.attributes[a]) { |
239 | 239 |
element.attr(a, info.attributes[a]); |
240 | 240 |
} |
241 |
else if (element.attr(a)) { |
|
242 |
// If the element has the attribute, but the value is empty, be |
|
243 |
// sure to clear it. |
|
244 |
element.removeAttr(a); |
|
245 |
} |
|
241 | 246 |
}); |
242 | 247 |
delete(info.attributes); |
243 | 248 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules