Skip to content
Snippets Groups Projects
Commit 3043cca4 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! TB 41668: Tweaks to the Base Browser updater for Tor Browser

TB 42720: Show what's new in the about:dialog.

Add a variable for the base browser version without dot, as we use it
in blog post URLs.
parent be509ef5
Branches
Tags
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -137,6 +137,13 @@ nsURLFormatterService.prototype = {
BB_VERSION() {
return AppConstants.BASE_BROWSER_VERSION;
},
BB_VERSION_FOR_URLS() {
let version = AppConstants.BASE_BROWSER_VERSION;
if (/^[0-9a\.]+$/.test(version)) {
version = version.replaceAll(".", "");
}
return version;
},
},
formatURL: function uf_formatURL(aFormat) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment