mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 717110 - [New Tab Page] Tooltips should be added to page thumbnails; r=dao
This commit is contained in:
parent
19c86cbf99
commit
1aef427386
@ -120,8 +120,10 @@ Site.prototype = {
|
||||
* Renders the site's data (fills the HTML fragment).
|
||||
*/
|
||||
_render: function Site_render() {
|
||||
let title = this.title || this.url;
|
||||
this.node.setAttribute("title", title);
|
||||
this.node.setAttribute("href", this.url);
|
||||
this._querySelector(".site-title").textContent = this.title || this.url;
|
||||
this._querySelector(".site-title").textContent = title;
|
||||
|
||||
if (this.isPinned())
|
||||
this._updateAttributes(true);
|
||||
|
Loading…
Reference in New Issue
Block a user