aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/lib/Userscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/lib/Userscript.js')
-rw-r--r--src/webview/lib/Userscript.js10
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