From 61d147c926a9a098ba44f8affeb77357ce852477 Mon Sep 17 00:00:00 2001
From: Daniel <daniel@harvey>
Date: Tue, 20 Apr 2021 14:38:52 +0200
Subject: [PATCH] STY: Whitespace fixup

---
 src/core/js/edit_mode.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/core/js/edit_mode.js b/src/core/js/edit_mode.js
index a6880f0d..b2c474f6 100644
--- a/src/core/js/edit_mode.js
+++ b/src/core/js/edit_mode.js
@@ -68,12 +68,12 @@ var edit_mode = new function() {
             var target = $("#top-navbar").find("ul").first();
             this.add_edit_mode_button(target, edit_mode.toggle_edit_mode);
             if (this.is_edit_mode()) {
-		edit_mode.enter_edit_mode();
+                edit_mode.enter_edit_mode();
                 edit_mode.toggle_edit_panel();
-		// This is for the very specific case of reloading the
-		// page while the edit mode is active on small screens
-		$(".caosdb-edit-min-width-warning").removeClass("d-none");
-		$(".caosdb-edit-min-width-warning").addClass("d-block");
+                // This is for the very specific case of reloading the
+                // page while the edit mode is active on small screens
+                $(".caosdb-edit-min-width-warning").removeClass("d-none");
+                $(".caosdb-edit-min-width-warning").addClass("d-block");
             }
             $('.caosdb-f-edit').css("transition", "top 1s");
         } else {
@@ -1740,14 +1740,14 @@ var edit_mode = new function() {
         //$(".caosdb-f-main").toggleClass("container-fluid").toggleClass("container");
         //$(".caosdb-f-main-entities").toggleClass("col-xs-8");
         $(".caosdb-f-edit").toggle();//.toggleClass("col-xs-4");
-	this._toggle_min_width_warning();
+        this._toggle_min_width_warning();
     }
 
     this._toggle_min_width_warning = function() {
         // Somewhat counter-intuitive, but when we're not in edit mode
         // and toggle the panel, we're entering and the warning should
         // be shown on small screens and vice-versa.
-	$(".caosdb-edit-min-width-warning").toggleClass("d-none", edit_mode.is_edit_mode());
+        $(".caosdb-edit-min-width-warning").toggleClass("d-none", edit_mode.is_edit_mode());
         $(".caosdb-edit-min-width-warning").toggleClass("d-block", !(edit_mode.is_edit_mode()));
     }
 
-- 
GitLab