From 6312da57006ec18b1dc18c6e119a63b61d9eb619 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 6 Sep 2017 12:40:12 -0700 Subject: [PATCH] Fix setting, add smoke test --- lib/utils/settings.html | 2 +- test/smoke/passive-gestures.html | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 test/smoke/passive-gestures.html diff --git a/lib/utils/settings.html b/lib/utils/settings.html index 56e91f1945..0548ad3c2c 100644 --- a/lib/utils/settings.html +++ b/lib/utils/settings.html @@ -102,6 +102,6 @@ * * @memberof Polymer */ - Polymer.passiveTouchGestures = false; + Polymer.passiveTouchGestures = Polymer.passiveTouchGestures || false; })(); diff --git a/test/smoke/passive-gestures.html b/test/smoke/passive-gestures.html new file mode 100644 index 0000000000..300496065d --- /dev/null +++ b/test/smoke/passive-gestures.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file