blob: 648de6c03c7e1bd4533fd45257fb7358c06c4786 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/**
* @file
* Provides backwards compatibility layer for Ajax-related markup.
*/
((Drupal) => {
/**
* Override the default ajaxProgressBar for backwards compatibility.
*
* @param {jQuery} $element
* Progress bar element.
* @return {string}
* The HTML markup for the progress bar.
*/
Drupal.theme.ajaxProgressBar = ($element) =>
$element.addClass('ajax-progress ajax-progress-bar');
})(Drupal);
|