Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / themes / contrib / bootstrap / js / misc / progress.js
index 6eaaa68d141c4895f41161410f76a4883a5a261e..31d40494618eee8567ce7785a4a711cc0efbc480 100644 (file)
@@ -61,7 +61,7 @@
      * @param {string} string
      */
     displayError: function (string) {
-      var error = $('<div class="alert alert-block alert-error"><a class="close" data-dismiss="alert" href="#">&times;</a><h4>' + Drupal.t('Error message') + '</h4></div>').append(string);
+      var error = $('<div class="alert alert-block alert-error"><button class="close" data-dismiss="alert">&times;</button><h4>' + Drupal.t('Error message') + '</h4></div>').append(string);
       $(this.element).before(error).hide();
 
       if (this.errorCallback) {