v0.10.10 - Fixed it so you can only upload image resources when uploading your profile picture
This commit is contained in:
@@ -45,12 +45,14 @@
|
||||
<script src="{{ asset("/js/moment-with-locales.min.js") }}"></script>
|
||||
<script src="{{ asset("/js/da.min.js") }}"></script>
|
||||
<script>
|
||||
//Global vars to use outside functions
|
||||
var momentDate = null;
|
||||
var dateText = null;
|
||||
|
||||
//Custom forEach
|
||||
NodeList.prototype.forEach = Array.prototype.forEach;
|
||||
|
||||
//Generates the calender when the site loads
|
||||
function generateCalendar(weekOffset = 0) {
|
||||
const week = (moment().week() + weekOffset);
|
||||
|
||||
@@ -109,6 +111,7 @@
|
||||
calendar.appendChild(calendarBody);
|
||||
}
|
||||
|
||||
//When a date is selected
|
||||
function onDateSelect(date, dayHolder, datetext) {
|
||||
//Set selected date and dateText
|
||||
momentDate = date;
|
||||
|
||||
Reference in New Issue
Block a user