ep_real_time_chat 11.0.8 → 11.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/js/main.js +2 -2
package/package.json
CHANGED
package/static/js/main.js
CHANGED
|
@@ -107,13 +107,13 @@ const sendChat = () => {
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
const getParam = (sname) => {
|
|
110
|
-
let params = location.search.
|
|
110
|
+
let params = location.search.substring(location.search.indexOf('?') + 1);
|
|
111
111
|
let sval = '';
|
|
112
112
|
params = params.split('&');
|
|
113
113
|
// split param and value into individual pieces
|
|
114
114
|
for (let i = 0; i < params.length; i++) {
|
|
115
115
|
const temp = params[i].split('=');
|
|
116
|
-
if (
|
|
116
|
+
if (temp[0] === sname) { sval = temp[1]; }
|
|
117
117
|
}
|
|
118
118
|
return sval;
|
|
119
119
|
};
|