Browse Source

Minor syntax tweaks

Alan Hardman 2 years ago
parent
commit
af3a3881b4
2 changed files with 6 additions and 6 deletions
  1. 1 1
      css/bootstrap-phproject.css
  2. 5 5
      js/backlog.js

+ 1 - 1
css/bootstrap-phproject.css

@@ -71,4 +71,4 @@ h1, .h1, h2, .h2, h3, .h3, .issue-heading {
 .close:hover, .close:focus {
 	color: #000000;
 	opacity: 1;
-}
+}

+ 5 - 5
js/backlog.js

@@ -28,14 +28,14 @@ function refreshPoints(){
 				points += val;
 			}
 		});
-		if (points){
-			$('.panel-head-points',this).show();
-		}else{
-			$('.panel-head-points',this).hide();
+		if (points) {
+			$('.panel-head-points', this).show();
+		} else {
+			$('.panel-head-points', this).hide();
 		}
 		$(".points-label", this).text(points);
 	});
-};
+}
 
 var Backlog = {
 	init: function() {