From 02556434b378a9eb8dac2213a6ff3da767259f9e Mon Sep 17 00:00:00 2001 From: bohung Date: Mon, 11 Jul 2022 15:30:37 +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 7e81b29..79091be 100644 --- a/app/assets/javascripts/property_hire_calendar_frontend.js +++ b/app/assets/javascripts/property_hire_calendar_frontend.js @@ -177,7 +177,7 @@ var Calendar = function(dom,property_id,currentView,display_hire_event){ var calEvent = {"event": eventClickInfo.event}, originalEvent = eventClickInfo.jsEvent, view = eventClickInfo.view, - el = eventClickInfo.el; + el = $(eventClickInfo.el); if(el.hasClass("reserve_btn")){ window.calEvent = calEvent; var start_time = calEvent.event.start;