aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-17 11:57:36 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-17 11:57:36 +0200
commitaa5ac9dc3fb81bdc8aa17567eed42e845c408d00 (patch)
tree8340a9120d650d9dc9fb1275cf78256d75239a66 /view/js
parentf6d76282549c562120417cbdd111109add4f7672 (diff)
downloadvolse-hubzilla-aa5ac9dc3fb81bdc8aa17567eed42e845c408d00.tar.gz
volse-hubzilla-aa5ac9dc3fb81bdc8aa17567eed42e845c408d00.tar.bz2
volse-hubzilla-aa5ac9dc3fb81bdc8aa17567eed42e845c408d00.zip
only use height: auto for week and day view
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_cal.js2
-rw-r--r--view/js/mod_events.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/js/mod_cal.js b/view/js/mod_cal.js
index 0bf97fcf7..5867f676e 100644
--- a/view/js/mod_cal.js
+++ b/view/js/mod_cal.js
@@ -17,6 +17,6 @@ function on_fullscreen() {
function on_inline() {
var view = $('#events-calendar').fullCalendar('getView');
if(view.type === 'month') {
- $('#events-calendar').fullCalendar('option', 'height', 'auto');
+ $('#events-calendar').fullCalendar('option', 'height', '');
}
}
diff --git a/view/js/mod_events.js b/view/js/mod_events.js
index e67890b47..66cf81ddd 100644
--- a/view/js/mod_events.js
+++ b/view/js/mod_events.js
@@ -28,6 +28,6 @@ function on_fullscreen() {
function on_inline() {
var view = $('#events-calendar').fullCalendar('getView');
if(view.type === 'month') {
- $('#events-calendar').fullCalendar('option', 'height', 'auto');
+ $('#events-calendar').fullCalendar('option', 'height', '');
}
}