From b391b44ef9151454684e93421ee2789821c8cad6 Mon Sep 17 00:00:00 2001 From: nglk Date: Fri, 8 Jan 2021 14:38:55 +0100 Subject: [PATCH] efforts with video close --- static/js/d3_map.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/d3_map.js b/static/js/d3_map.js index c6c9bac..7dcce0b 100644 --- a/static/js/d3_map.js +++ b/static/js/d3_map.js @@ -66,6 +66,9 @@ d3.json("/static/js/group1.json", function(error, json) { }) .on("click", function(i) { // popup video + jQuery('.ui-widget-overlay').bind('click',function(){ + jQuery('#showvideo').dialog('close'); + }); if (i.url) { divVideo.transition().duration(100); divVideo.html("
  × 
");