From f3c11cb0459f492c3067a3757a76bdd31074fb35 Mon Sep 17 00:00:00 2001 From: Mike MacMillan Date: Thu, 4 Dec 2014 11:01:30 -0800 Subject: [PATCH] Minor changes to satisfy jshint --- js/popovers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/popovers.js b/js/popovers.js index 04eff62..d0d9414 100644 --- a/js/popovers.js +++ b/js/popovers.js @@ -24,11 +24,11 @@ } }; - var hidePopover = function(e) { + var hidePopover = function() { popover.addEventListener('webkitTransitionEnd', (listener = onPopoverHidden)); popover.classList.remove('visible'); popover.parentNode.removeChild(backdrop); - } + }; var onPopoverHidden = function () { popover.style.display = 'none';