From 0c0f917995e6624223a29f5d30702fa608567431 Mon Sep 17 00:00:00 2001 From: Julien Collard Date: Tue, 12 Dec 2017 18:09:18 +0100 Subject: [PATCH 1/2] fix issue#3 --- paper-autocomplete-input.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paper-autocomplete-input.html b/paper-autocomplete-input.html index 20fe1b0..a423c76 100644 --- a/paper-autocomplete-input.html +++ b/paper-autocomplete-input.html @@ -573,11 +573,10 @@ ready: function () { var template = Polymer.dom(this).querySelector('template:not(#defaultTemplate)'); - var dataHost = this.parentNode; + var dataHost = this; if (!template) { template = this.$.defaultTemplate; - dataHost = this; } this.set("_itemTemplate", template); From b40a75f535cbcb5edda4091ad02c1305539b14f6 Mon Sep 17 00:00:00 2001 From: Julien Collard Date: Tue, 12 Dec 2017 18:09:56 +0100 Subject: [PATCH 2/2] bump the version to 2.1.1 --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 8eb1515..f6af877 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "paper-autocomplete-input", - "version": "2.1.0", + "version": "2.1.1", "authors": [ "Julien Collard (http://neilujd.com)" ],