Bläddra i källkod

Remove extraneous code

Lee Morgan 6 år sedan
förälder
incheckning
cd5640ee88
2 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 1
      controllers/transactionData.js
  2. 0 1
      views/dashboardPage/transactions.js

+ 0 - 1
controllers/transactionData.js

@@ -15,7 +15,6 @@ module.exports = {
         Needs some testing and playing with if so
     */
     getTransactions: function(req, res){
-        console.time("query");
         if(!req.session.user){
             req.session.error = "MUST BE LOGGED IN TO DO THAT";
             return res.redirect("/");

+ 0 - 1
views/dashboardPage/transactions.js

@@ -148,7 +148,6 @@ window.transactionsStrandObj = {
     toggleDropdown: function(dropdown){
         event.preventDefault();
         let polyline = dropdown.parentElement.children[0].children[1].children[0].children[0];
-        console.log(polyline);
 
         if(dropdown.style.display === "none"){
             dropdown.style.display = "block";