From 7b1e3f0545dac6bf80dcd83176796968dc1fb055 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Tue, 19 Sep 2017 05:40:03 +0000 Subject: [PATCH] Makes status font smaller to avoid overruns. --- js/shop.js | 2 ++ shop_log.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/shop.js b/js/shop.js index 9905e40..79aa9bf 100644 --- a/js/shop.js +++ b/js/shop.js @@ -14,6 +14,7 @@ $(function(){ $("[name='project']").attr("tabindex",4); $("[name='comment']").attr("tabindex",5); $("[name='Submit']").attr("tabindex",6); + $(".shop_user_role").css({fontSize: ".75em", fontWeight: "bold"}) // error handler for shops with a popup dialog (TODO) function error_handler(input,error_span,error,error_text,event) { @@ -90,6 +91,7 @@ $(function(){ var volunteer_hours_redeemed = 0; var obj = $.parseJSON(data); + console.log(obj.volunteer); var volunteer = "", remaining = 0, vhr = "", max_bikes_earned = 0; if (obj.volunteer) { volunteer = $.parseJSON(obj.volunteer); diff --git a/shop_log.php b/shop_log.php index 5bc61ad..9c40758 100644 --- a/shop_log.php +++ b/shop_log.php @@ -245,7 +245,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
- +