remove www from bookmark tile presentation url bar

This commit is contained in:
zombieFox 2021-08-22 08:02:28 +01:00
parent f1435d55c0
commit 4dfc05ca92

View File

@ -515,7 +515,7 @@ const BookmarkTile = function({
if (isValidString(bookmarkData.link.url)) {
this.element.url.text.textContent = trimString(bookmarkData.link.url).replace(/^https?\:\/\//i, '').replace(/\/+$/, '');
this.element.url.text.textContent = trimString(bookmarkData.link.url).replace(/^https?\:\/\//i, '').replace('www.', '').replace(/\/+$/, '');
this.element.url.text.title = trimString(bookmarkData.link.url);