Commit 2e2f9b22 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🐦

load rules from tomcat server rather than the static list

parent 24e60a77
Pipeline #2052 passed with stages
in 25 seconds
......@@ -57,7 +57,7 @@ function makeRuleItem(list, index, value){
function loadAndDisplay(){
$.getJSON("assets/js/rules.json", function(json){
$.getJSON("", function(json){
json.sort(function(a, b){
if( < return -1;
if( > return 1;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment