mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-25 07:48:54 +00:00
🐛 Fix(PostChat): null pointer rrror
This commit is contained in:
+1
-2
@@ -1148,8 +1148,7 @@ class FixIt {
|
||||
}
|
||||
|
||||
initPostChatUser() {
|
||||
window.postChat_mode = postChatConfig.userMode || 'iframe';
|
||||
if (window.postChat_mode !== 'iframe' || !window.postChatUser) {
|
||||
if (!window.postChatUser || !postChatConfig || postChatConfig.userMode === 'magic') {
|
||||
return;
|
||||
}
|
||||
postChat_theme = this.isDark ? 'dark' : 'light';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- .Scratch.Set "version" "v0.3.17-637c4641" -}}
|
||||
{{- .Scratch.Set "version" "v0.3.17-036cbb41" -}}
|
||||
{{- .Scratch.Set "this" dict -}}
|
||||
|
||||
{{- partial "init/detection-env.html" . -}}
|
||||
|
||||
Reference in New Issue
Block a user