Declaratively set plugin card list scroll handler

This commit is contained in:
Oliver Hamlet
2016-03-05 11:49:26 +00:00
parent ea2a61cf20
commit 143cb6cb29
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -317,7 +317,7 @@
<!-- Generated message <li> elements go here. -->
</ul>
</paper-material>
<iron-list id="pluginCardList" as="plugin">
<iron-list id="pluginCardList" as="plugin" scroll-target="main">
<template>
<loot-plugin-card id="[[plugin.id]]"
data="[[plugin]]">
-2
View File
@@ -233,8 +233,6 @@
return () => {
Dialog.showProgress('Initialising user interface...');
/* Set the plugin list's scroll target to its parent. */
document.getElementById('pluginCardList').scrollTarget = document.getElementById('main');
/* Make sure settings are what I want. */
window.marked.setOptions({