diff --git a/view/templates/event_head.tpl b/view/templates/event_head.tpl
index 5fd4cd133..5461ea947 100644
--- a/view/templates/event_head.tpl
+++ b/view/templates/event_head.tpl
@@ -30,7 +30,6 @@
$('#id_finish_text').prop("disabled", false);
}
-
$(document).ready(function() {
$('#events-calendar').fullCalendar({
firstDay: '{{$i18n.firstDay|escape:'quotes'}}',
@@ -105,7 +104,6 @@
},
eventRender: function(event, element, view) {
- //console.log(view.name);
if (event.item['author-name']==null) return;
switch(view.name){
case "month":
@@ -141,15 +139,15 @@
// center on date
var args=location.href.replace(baseurl,"").split("/");
- {{if $modparams == 2}}
+{{if $modparams == 2}}
if (args.length>=5) {
$("#events-calendar").fullCalendar('gotoDate',args[3] , args[4]-1);
}
- {{else}}
+{{else}}
if (args.length>=4) {
$("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
}
- {{/if}}
+{{/if}}
// show event popup
var hash = location.hash.split("-")
@@ -158,13 +156,11 @@
});
-
{{if $editselect != 'none'}}
-