Pārlūkot izejas kodu

Set dataType JSON of ajax request of `prebind_url`

JC Brand 9 gadi atpakaļ
vecāks
revīzija
2173359718
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/converse-core.js

+ 1 - 0
src/converse-core.js

@@ -1615,6 +1615,7 @@
             $.ajax({
                 url:  this.prebind_url,
                 type: 'GET',
+                dataType: "json",
                 success: function (response) {
                     this.connection.attach(
                             response.jid,