Removed plugin card menu hack.

This commit is contained in:
Oliver Hamlet
2014-11-13 03:52:23 +00:00
parent 198b310f4b
commit 411610ea20
@@ -173,14 +173,6 @@ loot-clear-metadata
#editor > div {
padding: 1em;
}
paper-menu-button paper-item:first-child {
padding: 0;
}
#showOnlyConflicts {
height: 48px;
line-height: 48px;
padding: 0 16px;
}
</style>
<section id="front">
<core-toolbar>
@@ -507,11 +499,6 @@ loot-clear-metadata
}
},
onTransitionEnd: function(evt) {
evt.target.removeEventListener('transitionend', evt.target.onTransitionEnd, false);
evt.target.shadowRoot.getElementById('editMetadata').parentElement.shadowRoot.getElementById('dropdown').style.display = 'none';
},
onShowEditor: function(evt) {
var card = evt.target.parentElement.parentElement.parentElement.parentElement.parentElement.parentNode.host;
@@ -526,10 +513,6 @@ loot-clear-metadata
bubbles: true,
}));
/* There's a bug where the hiding of the front panel interferes somehow with the
menu getting hidden, so do that manually once the transition ends. */
card.addEventListener('transitionend', card.onTransitionEnd, false);
/* Now show editor. */
card.classList.toggle('flip');
},