fix: add default value to js gdMakeArticleActive invoke

This commit is contained in:
YiFang Xiao 2023-05-12 09:20:19 +08:00
parent 3a24a43410
commit d1f5024b2b

View file

@ -650,8 +650,8 @@ void ArticleRequest::bodyFinished()
head += QString::fromUtf8(
R"( <div class="gdarticle %1 %2" id="%3"
onClick="gdMakeArticleActive( '%4' );"
onContextMenu="gdMakeArticleActive( '%4' );">)" )
onClick="gdMakeArticleActive( '%4', false );"
onContextMenu="gdMakeArticleActive( '%4', false );">)" )
.arg( closePrevSpan ? "" : " gdactivearticle" ,
collapse ? " gdcollapsedarticle" : "" ,
gdFrom.c_str() ,