diff options
Diffstat (limited to 'sphinx/themes/basic/static/websupport.js')
-rw-r--r-- | sphinx/themes/basic/static/websupport.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/themes/basic/static/websupport.js b/sphinx/themes/basic/static/websupport.js index 8405374d0..079497a06 100644 --- a/sphinx/themes/basic/static/websupport.js +++ b/sphinx/themes/basic/static/websupport.js @@ -612,10 +612,8 @@ }; function showError(message) { - $('<div class="popup_error">' + - '<h1>' + message + '</h1>' + - '</div>' - ) + $(document.createElement('div').attr({class: 'popup_error'})) + .append($(document.createElement('h1').val(message))) .appendTo('body') .fadeIn("slow") .delay(2000) |