Quellcode durchsuchen

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

Yannick Warnier vor 12 Jahren
Ursprung
Commit
172e71a311
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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() {
 function startChatSession() {
     /* fix bug BT#5728 whereby users cannot move to the next question in IE9 */
     /* fix bug BT#5728 whereby users cannot move to the next question in IE9 */
-    if (ajax_url) {
+    if (typeof ajax_url != 'undefined') {
         $.ajax({
         $.ajax({
           url: ajax_url+"?action=startchatsession",
           url: ajax_url+"?action=startchatsession",
           cache: false,
           cache: false,