aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-14 07:33:05 +0000
committerMario <mario@mariovavti.com>2023-02-14 07:33:05 +0000
commitde3e83f0a24f7523639c0866535d8aae8a63efb7 (patch)
treefb26d33f69a3b0d7cb48c817e33441ea74061591 /view/js
parent6c78f7b76936513a408d036c98c12f8e88b448fc (diff)
downloadvolse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.tar.gz
volse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.tar.bz2
volse-hubzilla-de3e83f0a24f7523639c0866535d8aae8a63efb7.zip
fix mod cal after fullcalendar update
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_cal.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/view/js/mod_cal.js b/view/js/mod_cal.js
deleted file mode 100644
index 5867f676e..000000000
--- a/view/js/mod_cal.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * JavaScript for mod/cal
- */
-
-$(document).ready( function() {
- $(document).on('click','#fullscreen-btn', on_fullscreen);
- $(document).on('click','#inline-btn', on_inline);
-});
-
-function on_fullscreen() {
- var view = $('#events-calendar').fullCalendar('getView');
- if(view.type === 'month') {
- $('#events-calendar').fullCalendar('option', 'height', $(window).height() - $('.section-title-wrapper').outerHeight(true) - 2); // -2 is for border width (top and bottom) of .generic-content-wrapper
- }
-}
-
-function on_inline() {
- var view = $('#events-calendar').fullCalendar('getView');
- if(view.type === 'month') {
- $('#events-calendar').fullCalendar('option', 'height', '');
- }
-}