mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 717110 - [New Tab Page] Tooltips should be added to page thumbnails; r=dao
This commit is contained in:
parent
e0ee63045e
commit
36d29afe45
@ -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