Skip to content

Commit 5e28a64

Browse files
author
ziye12
authored
Update qqreads.js
1 parent 37b118f commit 5e28a64

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Task/qqreads.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,15 @@ if ($.isNode()) {
152152

153153

154154

155-
if (isGetCookie = typeof $request !== 'undefined') {
156-
GetCookie();
157-
else {
155+
let isGetCookie = typeof $request !== 'undefined'
156+
if (isGetCookie) {
157+
GetCookie()
158+
} else {
158159
all()
159160
}
160161

161162

163+
162164
function GetCookie() {
163165
if($request &&$request.url.indexOf("init")>=0) {
164166

0 commit comments

Comments
 (0)