mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
open remote links on cards
This commit is contained in:
parent
9d060df04c
commit
5c337aa658
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ $(".ansbut").focus();
|
|||
elif url.startswith("typeans:"):
|
||||
(cmd, arg) = url.split(":")
|
||||
self.processTypedAns(arg)
|
||||
else:
|
||||
QDesktopServices.openUrl(QUrl(url))
|
||||
|
||||
# CSS
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue