Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #22097 from crdlc/bug-1043260
Browse files Browse the repository at this point in the history
Bug 1043260 - Remove workaround done in bug 1022423
  • Loading branch information
Cristian Rodriguez committed Jul 24, 2014
2 parents 2558ee7 + 4e95aba commit bda8c70
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions apps/verticalhome/js/app.js
Expand Up @@ -131,7 +131,6 @@
*/
onLocalized: function() {
var items = this.grid.getItems();
var titles = [];
items.forEach(function eachItem(item) {
if(!item.name) {
return;
Expand All @@ -141,18 +140,6 @@
// the app. We just need to get it and set the content.
var element = item.element.querySelector('.title');
element.textContent = item.name;

// Bug 1022866 - Workaround for projected content nodes disappearing
// We need to hide and 'flash' the the element style.
element.style.display = 'none';

titles.push(element);
});

// Bug 1022866 - Recover from workaround, display titles afer a reflow.
document.body.clientTop;
titles.forEach(function eachItem(title) {
title.style.display = '';
});
},

Expand Down

0 comments on commit bda8c70

Please sign in to comment.