diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-14 15:19:49 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-15 13:56:18 +0200 |
commit | cfa7975316e7fa8e88a2c2e06ad37240d1b6e057 (patch) | |
tree | 4c3373ce6d12cb599e68348d1d892a4ca2b4b40c /help3xsl/help.js | |
parent | 789bc6e2c10536e5a876c5c4fb0126dbffe4dcbf (diff) |
Add SQL code colorization to Help pages
Change-Id: I2c74e63c67a323a6e6b726da352dd23e1a88d886
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134329
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r-- | help3xsl/help.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js index 65493ab0c3..3e9c0fe110 100644 --- a/help3xsl/help.js +++ b/help3xsl/help.js @@ -148,10 +148,11 @@ function debounce(fn, wait, indexList) { }; } -// copy pycode and bascode to clipboard on mouse click +// copy pycode, sqlcode and bascode to clipboard on mouse click // Show border when copy is done divcopyable(document.getElementsByClassName("bascode")); divcopyable(document.getElementsByClassName("pycode")); +divcopyable(document.getElementsByClassName("sqlcode")); function divcopyable(itemcopyable){ for (var i = 0, len = itemcopyable.length; i < len; i++) { |