mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1112618 - Use an empty string instead of null for the label attribute of null-titled bookmarks. r=mak
This commit is contained in:
parent
0f37375fee
commit
18649fd325
@ -1038,7 +1038,7 @@ PlacesToolbar.prototype = {
|
||||
else {
|
||||
button = document.createElement("toolbarbutton");
|
||||
button.className = "bookmark-item";
|
||||
button.setAttribute("label", aChild.title);
|
||||
button.setAttribute("label", aChild.title || "");
|
||||
let icon = aChild.icon;
|
||||
if (icon)
|
||||
button.setAttribute("image",
|
||||
@ -1866,7 +1866,7 @@ PlacesPanelMenuView.prototype = {
|
||||
button.className = "bookmark-item";
|
||||
if (typeof this.options.extraClasses.entry == "string")
|
||||
button.classList.add(this.options.extraClasses.entry);
|
||||
button.setAttribute("label", aChild.title);
|
||||
button.setAttribute("label", aChild.title || "");
|
||||
let icon = aChild.icon;
|
||||
if (icon)
|
||||
button.setAttribute("image",
|
||||
|
Loading…
Reference in New Issue
Block a user