Fix #1249 hide waiting message from crawlers

This commit is contained in:
Kijin Sung 2020-03-19 00:20:34 +09:00
parent 9a049c9064
commit f304283fd5
2 changed files with 3 additions and 2 deletions

View file

@ -430,7 +430,8 @@
* Register the beforeUnload handler.
*/
$(function() {
waiting_obj = $(".wfsr");
waiting_obj = $('.wfsr');
waiting_obj.text(waiting_obj.data('message'));
if (show_leaving_warning) {
$(document).ajaxStart(function() {
$(window).bind("beforeunload", beforeUnloadHandler);