diff options
Diffstat (limited to 'html/display_panel/content')
-rw-r--r-- | html/display_panel/content/display-panel.html | 5 | ||||
-rw-r--r-- | html/display_panel/content/main_panel.js | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/html/display_panel/content/display-panel.html b/html/display_panel/content/display-panel.html index 4f2da4f..2879826 100644 --- a/html/display_panel/content/display-panel.html +++ b/html/display_panel/content/display-panel.html @@ -11,6 +11,7 @@ * Copyright (C) 2011, 2012, 2014 Loic J. Duros * Copyright (C) 2017, 2018 NateN1222 <nathannichols454@gmail.com> * Copyright (C) 2018 Ruben Rodriguez <ruben@gnu.org> + * Copyright (C) 2018 Giorgio Maone <giorgio@maone.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +31,6 @@ </head> <body> - <script src="main_panel.js"></script> <div id="header"> <div class="title-area"> <div> @@ -46,7 +46,7 @@ id="librejs-web-link">gnu.org/software/librejs</a> </div> <div> - <strong>LibreJS 7.0</strong> + <strong>LibreJS <span id="version"></span></strong> </div> </div> <div id="buttons" class="title-area"> @@ -73,4 +73,5 @@ </div> </div> </body> +<script src="main_panel.js"></script> </html> diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index 3086859..edbd909 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -58,7 +58,8 @@ var myPort = webex.runtime.connect({name:"port-from-cs"}); var current_blocked_data; - +// Display the actual extension version Number +document.querySelector("#version").textContent = browser.runtime.getManifest().version; /* * Makes a button appear that calls a function when you press it. |