From 68e52931ce924985f8b87075cad5eaa559a1d1d8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 19 Apr 2016 22:29:15 -0400 Subject: [PATCH] check before calling stopPropagation --- dashboard-ui/scripts/librarylist.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js index f73ec1142c..dcf354296e 100644 --- a/dashboard-ui/scripts/librarylist.js +++ b/dashboard-ui/scripts/librarylist.js @@ -937,6 +937,7 @@ showSelections(card); + // It won't have this if it's a hammer event if (e.stopPropagation) { e.stopPropagation(); } @@ -944,7 +945,10 @@ return false; } e.preventDefault(); - e.stopPropagation(); + // It won't have this if it's a hammer event + if (e.stopPropagation) { + e.stopPropagation(); + } return false; }