mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-02 19:14:05 +00:00
Enlarged dsl images: go back on click on picture
This commit is contained in:
parent
0408201f37
commit
8185329bf1
|
@ -271,7 +271,8 @@ sptr< Dictionary::DataRequest > ArticleMaker::makeEmptyPage() const
|
||||||
sptr< Dictionary::DataRequest > ArticleMaker::makePicturePage( string const & url ) const
|
sptr< Dictionary::DataRequest > ArticleMaker::makePicturePage( string const & url ) const
|
||||||
{
|
{
|
||||||
string result = makeHtmlHeader( tr( "(picture)" ), QString() )
|
string result = makeHtmlHeader( tr( "(picture)" ), QString() )
|
||||||
+ "<img src=\"" + url + "\" />"
|
+ "<a href=\"javascript: if(history.length>2) history.go(-1)\">"
|
||||||
|
+ "<img src=\"" + url + "\" /></a>"
|
||||||
+ "</body></html>";
|
+ "</body></html>";
|
||||||
|
|
||||||
sptr< Dictionary::DataRequestInstant > r =
|
sptr< Dictionary::DataRequestInstant > r =
|
||||||
|
|
Loading…
Reference in a new issue