From 764f2cb3808f32f59bb91fcc69328c9d67e1d74a Mon Sep 17 00:00:00 2001 From: Xsivax Date: Fri, 19 Nov 2021 22:01:01 +0100 Subject: [PATCH] port changed --- src/main.rs | 4 ++-- templates/assets/js/net.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1b5e3e2..623f5db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,7 +24,7 @@ async fn main() -> std::io::Result<()> { .route("/cyberpreneur", web::get().to(route::cyber)) .route("/offgrid", web::get().to(route::off)) }) - .bind("127.0.0.1:8080")? + .bind("127.0.0.1:5000")? .run() .await -} \ No newline at end of file +} diff --git a/templates/assets/js/net.js b/templates/assets/js/net.js index b5a3fc6..08f66df 100644 --- a/templates/assets/js/net.js +++ b/templates/assets/js/net.js @@ -180,7 +180,7 @@ function dragstart() { console.log("box atrr", box.attr("class")); if ( box.attr("class") == "box_on" ) { - // make nodes underneath unclickable as long as box is open ! + // make either nodes underneath unclickable as long as box is open or bring content in box to very front ! this.__on = null; } // this refers to dragged circle element