From 48c494894680f95b561315c2f85021e572f115b2 Mon Sep 17 00:00:00 2001 From: bohung Date: Mon, 25 Jul 2022 22:37:16 +0800 Subject: [PATCH] Fix bug. --- app/assets/javascripts/property_hire_calendar_frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/property_hire_calendar_frontend.js b/app/assets/javascripts/property_hire_calendar_frontend.js index 47400f0..ede39cb 100644 --- a/app/assets/javascripts/property_hire_calendar_frontend.js +++ b/app/assets/javascripts/property_hire_calendar_frontend.js @@ -188,7 +188,7 @@ var Calendar = function(dom,property_id,currentView,display_hire_event){ }else{ c.dialog.dismiss(); c.dialog.inflate(calEvent); - c.dialog.show({"x":e.originalEvent.clientX,"y":e.originalEvent.clientY}); + c.dialog.show({"x": originalEvent.clientX,"y": originalEvent.clientY}); } }, dateClick: function(ev) {