diff options
author | 2021-10-27 07:25:26 +0530 | |
---|---|---|
committer | 2021-10-27 07:25:26 +0530 | |
commit | 477bdd76a7405ff10a5cfabdec00ee9ae02f2698 (patch) | |
tree | bfa8cfb70e6852b9f535ccfd9b05712269a70dc1 /src/webview/lib/Userscript.js | |
parent | Bumped up ferdi beta version to '5.6.3-beta.2' (diff) | |
parent | 5.6.3-nightly.44 [skip ci] (diff) | |
download | ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.gz ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.zst ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.zip |
Merge branch 'nightly' into release
Diffstat (limited to 'src/webview/lib/Userscript.js')
-rw-r--r-- | src/webview/lib/Userscript.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/webview/lib/Userscript.js b/src/webview/lib/Userscript.js index bed2b1ff8..f7bb99206 100644 --- a/src/webview/lib/Userscript.js +++ b/src/webview/lib/Userscript.js | |||
@@ -60,6 +60,16 @@ export default class Userscript { | |||
60 | } | 60 | } |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * Set active dialog title to the app title | ||
64 | * @param {*} title Dialog title | ||
65 | */ | ||
66 | setDialogTitle(title) { | ||
67 | if (this.recipe && this.recipe.setDialogTitle) { | ||
68 | this.recipe.setDialogTitle(title); | ||
69 | } | ||
70 | } | ||
71 | |||
72 | /** | ||
63 | * Inject CSS files into the current page | 73 | * Inject CSS files into the current page |
64 | * | 74 | * |
65 | * @param {...string} files | 75 | * @param {...string} files |