From 64b0468c9ca391c060313f08c7d4a8b8af0d6bc9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 5 Jan 2016 11:48:51 -0500 Subject: [PATCH] update action sheet --- dashboard-ui/scripts/actionsheet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/actionsheet.js b/dashboard-ui/scripts/actionsheet.js index c2a9aa960b..41ee0f9e65 100644 --- a/dashboard-ui/scripts/actionsheet.js +++ b/dashboard-ui/scripts/actionsheet.js @@ -61,7 +61,7 @@ html += ''; } - var itemsWithIcons = options.items.filter(function(o) { + var itemsWithIcons = options.items.filter(function (o) { return o.ironIcon; }); @@ -144,7 +144,7 @@ }); // Seeing an issue in some non-chrome browsers where this is requiring a double click - var eventName = browserInfo.chrome ? 'click' : 'mousedown'; + var eventName = browserInfo.chrome || browserInfo.safari ? 'click' : 'mousedown'; $('.actionSheetMenuItem', dlg).on(eventName, function () {