mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 13:24:05 +00:00
fix: add default value to js gdMakeArticleActive invoke
This commit is contained in:
parent
3a24a43410
commit
d1f5024b2b
|
@ -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() ,
|
||||
|
|
Loading…
Reference in a new issue