use var instead of const
In layout.js. use var instead of const/let. because consts or let keywords are not been supported in legacy client
This commit is contained in:
parent
8718ac4588
commit
79ba0ebc70
|
|
@ -740,8 +740,8 @@
|
|||
}
|
||||
|
||||
function isTextMessageInUrl() {
|
||||
const hash = context.location.hash;
|
||||
const regexp = /\S+\/text-message\/d1=/
|
||||
var hash = context.location.hash;
|
||||
var regexp = /\S+\/text-message\/d1=/
|
||||
return regexp.test(hash);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue