From 6f5b814882ceb5d3ae17c8a6728d8becae416f93 Mon Sep 17 00:00:00 2001 From: Shivang Saxena Date: Sun, 20 Oct 2019 01:18:08 +0530 Subject: [PATCH 1/2] Disabled double click on card --- js/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 5d21d13..477e4f9 100644 --- a/js/index.js +++ b/js/index.js @@ -13,7 +13,11 @@ $(document).ready(function(){ randomizeStartOffset(); transitionToStartPosition(); - + $('.front').dblclick(function(e){ + e.preventDefault(); + console.log("Disabled"); + }); + $(".front").click(function(){ if(blockInput){ return; From dc8bb701c6edda72c3bdac5cec28ae9b5ef3c57b Mon Sep 17 00:00:00 2001 From: Shivang Saxena Date: Sun, 20 Oct 2019 01:19:00 +0530 Subject: [PATCH 2/2] Double click disabled --- js/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/index.js b/js/index.js index 477e4f9..6638211 100644 --- a/js/index.js +++ b/js/index.js @@ -15,7 +15,6 @@ $(document).ready(function(){ transitionToStartPosition(); $('.front').dblclick(function(e){ e.preventDefault(); - console.log("Disabled"); }); $(".front").click(function(){