summaryrefslogtreecommitdiff
path: root/views/staff/_footer.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/_footer.ejs')
-rw-r--r--views/staff/_footer.ejs6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/staff/_footer.ejs b/views/staff/_footer.ejs
index c363beb..839db4a 100644
--- a/views/staff/_footer.ejs
+++ b/views/staff/_footer.ejs
@@ -6,9 +6,11 @@
</body>
[[ include ../partials/scripts ]]
<script type="text/javascript" src="/assets/javascripts/vendor/bower_components/jquery-jsonview/dist/jquery.jsonview.js"></script>
+<script type="text/javascript" src="/assets/javascripts/ui/site/StaffView.js"></script>
<script>
-$(".json").each(function(){
- $(this).JSONView( this.innerText )
+$(function(){
+ var staffView = new StaffView ()
+ staffView.load()
})
</script>
</html>