فهرست منبع

Better fix for IE9 compat mode 'next' button bug - refs #BT#5728

Yannick Warnier 12 سال پیش
والد
کامیت
172e71a311
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      main/inc/lib/javascript/chat/js/chat.js

+ 1 - 1
main/inc/lib/javascript/chat/js/chat.js

@@ -121,7 +121,7 @@ function showChatConnect() {
  */
 function startChatSession() {
     /* fix bug BT#5728 whereby users cannot move to the next question in IE9 */
-    if (ajax_url) {
+    if (typeof ajax_url != 'undefined') {
         $.ajax({
           url: ajax_url+"?action=startchatsession",
           cache: false,