summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--assignment_list.js4
-rw-r--r--assignment_list.php1
3 files changed, 2 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 1a15d5d..81d5e8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*
!backend/backend.php
+!custom
!assignment_list*
!setup.php
diff --git a/assignment_list.js b/assignment_list.js
index 6955328..1c153fb 100644
--- a/assignment_list.js
+++ b/assignment_list.js
@@ -1,7 +1,3 @@
-//set background image
-const bg_image = ["rubber_duck_PNG33.png", "dice.png"];
-document.getElementById("bg").style.backgroundImage = "url(" + bg_image[Math.floor(Math.random() * bg_image.length)] + ")";
-
//Function to get date
function get_day(d){
if(!d) d = new Date();
diff --git a/assignment_list.php b/assignment_list.php
index e6e817b..1d4dfc3 100644
--- a/assignment_list.php
+++ b/assignment_list.php
@@ -126,6 +126,7 @@ print "TEST: num_hw = $ENGL2A->num_hw";
<title>Daily Homework Schedule</title>
<link rel="stylesheet" href="assignment_list.css">
<script defer src="assignment_list.js"></script>
+ <script defer src="custom/custom.js"></script>
</head>
<body>