From 8f6fa83ba36e3f62b73f029a8547202d50e7eb74 Mon Sep 17 00:00:00 2001 From: Bibiana Gamba S Date: Wed, 14 Feb 2018 23:12:59 -0500 Subject: [PATCH] Code review 3 Comentario extra: Puedes meter los css y js en carpetas para tener una mejor estructura del proyecto. --- scripts.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts.js b/scripts.js index eabbbbc..b60dcd0 100644 --- a/scripts.js +++ b/scripts.js @@ -1,6 +1,9 @@ /* global $ */ "use strict"; var offset = 50; + +// SegĂșn eslint las comillas deberĂ­an ser sencillas + $('.nav-pills li a').click(function(event) { event.preventDefault(); $($(this).attr('href'))[0].scrollIntoView(); @@ -10,4 +13,4 @@ $('.nav-pills li a').click(function(event) { $(".descripcion").hide(); $(".imgProyectos").on("click", function(){ $(this).next().slideToggle(400); -}); \ No newline at end of file +});