mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-22 16:13:20 +01:00
remove www from bookmark tile presentation url bar
This commit is contained in:
parent
f1435d55c0
commit
4dfc05ca92
@ -515,7 +515,7 @@ const BookmarkTile = function({
|
|||||||
|
|
||||||
if (isValidString(bookmarkData.link.url)) {
|
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);
|
this.element.url.text.title = trimString(bookmarkData.link.url);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user