From 135d5d9b0c230aa30d705ea10f0ae3e2bbe211a4 Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Thu, 22 Jun 2017 15:27:38 -0700 Subject: [PATCH] Fix leftover console logs --- js/foundation.util.triggers.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/foundation.util.triggers.js b/js/foundation.util.triggers.js index 43c4b63264..cbe9e642c9 100644 --- a/js/foundation.util.triggers.js +++ b/js/foundation.util.triggers.js @@ -32,13 +32,11 @@ Triggers.Listeners.Basic = { triggers($(this), 'open'); }, closeListener: function() { - console.log('in close listener'); let id = $(this).data('close'); if (id) { triggers($(this), 'close'); } else { - console.log('bubbling close'); $(this).trigger('close.zf.trigger'); } }, @@ -51,7 +49,6 @@ Triggers.Listeners.Basic = { } }, closeableListener: function(e) { - console.log('in closeable listener'); e.stopPropagation(); let animation = $(this).data('closable'); @@ -247,14 +244,11 @@ Triggers.init = function($, Foundation) { if (typeof($.triggersInitialized) === 'undefined') { let $document = $(document); - console.log('inside initialization'); if(document.readyState === "complete") { - console.log('initializing because document complete'); Triggers.Initializers.addSimpleListeners(); Triggers.Initializers.addGlobalListeners(); } else { $(window).on('load', () => { - console.log('initializing on load'); Triggers.Initializers.addSimpleListeners(); Triggers.Initializers.addGlobalListeners(); });