diff options
-rw-r--r-- | sphinx/themes/basic/static/websupport.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/themes/basic/static/websupport.js b/sphinx/themes/basic/static/websupport.js index cf0edf9b5..276d550b4 100644 --- a/sphinx/themes/basic/static/websupport.js +++ b/sphinx/themes/basic/static/websupport.js @@ -612,8 +612,8 @@ }; function showError(message) { - $(document.createElement('div').attr({class: 'popup_error'})) - .append($(document.createElement('h1').val(message))) + $(document.createElement('div')).attr({class: 'popup_error'}) + .append($(document.createElement('h1')).text(message)) .appendTo('body') .fadeIn("slow") .delay(2000) |