Skip to content

Commit e72bec6

Browse files
J9remmrflos
authored andcommitted
fix(BazarCalendar): remove multiple click events for modalbox
1 parent 70ff955 commit e72bec6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/bazar/presentation/javascripts/components/BazarCalendar.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ Vue.component('BazarCalendar', {
9898
window.location = info.event.url+ (this.$root.isInIframe() ? '/iframe' : '');
9999
} else if (['listWeek','listMonth','listYear'].indexOf(info.view.type) > -1){
100100
info.jsEvent.preventDefault(); // don't let the browser navigate
101-
$(info.el).find('a').first().click();
102101
}
103102
},
104103
mountCalendar: function(){
@@ -174,7 +173,6 @@ Vue.component('BazarCalendar', {
174173
}
175174
if ($(element).hasClass("fc-list-event") && this.isModalDisplay()){
176175
$(element).find('.fc-list-event-title a').each(function(){
177-
$(this).addClass("modalbox");
178176
$(this).attr("data-size","modal-lg");
179177
$(this).attr("data-iframe","1");
180178
$(this).attr("title",event.title);

0 commit comments

Comments
 (0)