mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
dfbe50de38
commit
fa1b5ae859
@ -127,7 +127,7 @@ document.querySelectorAll('.tab-widget_xxxxxx_internal .tab-button_xxxx_internal
|
||||
)
|
||||
stl = requests.get(ss.group()[6:-1], proxies=self.proxy).text
|
||||
saver["style"] = stl
|
||||
saver["primary"] = get_element_by("id", "main_results", res) + res.replace(
|
||||
saver["primary"] = get_element_by("id", "result_area", res) + res.replace(
|
||||
get_element_by("id", "main_results", res),
|
||||
get_element_by("id", "primary", res),
|
||||
)
|
||||
@ -154,6 +154,8 @@ document.querySelectorAll('.tab-widget_xxxxxx_internal .tab-button_xxxx_internal
|
||||
res.append(("Words", saver["primary"]))
|
||||
if saver.get("secondary"):
|
||||
res.append(("Others", saver["secondary"]))
|
||||
if not res:
|
||||
return
|
||||
return "<style>{}</style>".format(
|
||||
saver.get("style", "")
|
||||
) + self.generatehtml_tabswitch(res)
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 50)
|
||||
set(VERSION_PATCH 3)
|
||||
set(VERSION_PATCH 4)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user