From 43950c897595c5d1329dbc3a11f951c5cbb6ddf1 Mon Sep 17 00:00:00 2001 From: Nishim12 Date: Tue, 2 Jul 2024 11:00:40 +0000 Subject: [PATCH] commented unused code --- ubyssey/static_src/src/js/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ubyssey/static_src/src/js/main.js b/ubyssey/static_src/src/js/main.js index 56851b471..4ac4259a7 100644 --- a/ubyssey/static_src/src/js/main.js +++ b/ubyssey/static_src/src/js/main.js @@ -89,6 +89,7 @@ function enableScroll() { $('body').removeClass('u-no-scroll'); } +/* // Set element image-attachment variables left and right's respective margins to that of // the first child of parent element p (with direct parent element article-content) function embedMargins() { @@ -111,6 +112,7 @@ function resizeFullWidthStoryBanner() { } } + //Should be improved (temp) function issueParser() { var req = new XMLHttpRequest(); @@ -132,6 +134,7 @@ function issueParser() { }; req.send(); } +*/ // If hovering over sections-more-dropdown element, // element slides up or down.