From 5cc4a043aafb27774a30c902f4511f1e25ca9ce8 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 6 Oct 2015 19:42:02 +0300 Subject: [PATCH] Comment-out the calendar nonsense --- app/assets/javascripts/halfnarp.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/halfnarp.js b/app/assets/javascripts/halfnarp.js index ce8ba09..f81ee46 100644 --- a/app/assets/javascripts/halfnarp.js +++ b/app/assets/javascripts/halfnarp.js @@ -216,8 +216,11 @@ if( hour < 10 ) { day--; } + + t.addClass('small'); + /* Apply attributes to sort events into calendar */ - t.addClass('small room_' + item.room_id + ' duration_' + item.duration + ' day_'+day + ' time_' + (hour<10?'0':'') + hour + '' + (mins<10?'0':'') + mins); + // t.addClass(' room_' + item.room_id + ' duration_' + item.duration + ' day_'+day + ' time_' + (hour<10?'0':'') + hour + '' + (mins<10?'0':'') + mins); t.click( function(event) { /* Transition for touch devices is highlighted => selected => highlighted ... */