Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
(fix #29) Re-closes
Browse files Browse the repository at this point in the history
Fixes the __radio buttons__ because they weren't starting as checked.
This will make the site easier for new comers.
  • Loading branch information
Frank Cash committed Aug 12, 2014
1 parent 5c9ce07 commit daa2a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,7 @@ app.use(express.logger('dev'))

app.use(express.static(__dirname + '/public'))

app.get('/', function (req, res) { //get index and renders it
res.render('index',
{ title : 'Home' }
)
})

app.get('/test', function (req, res) {
app.get('/', function (req, res) {
res.render('test',
{ title : 'Home' }
)
Expand Down
3 changes: 2 additions & 1 deletion public/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ app.controller("AppTest", function($scope, $http){
$scope.hackerNew = "";
$scope.lobNew = "";
$scope.rNew = "";
$scope.content="first";


/**
For top posts
Expand All @@ -33,7 +35,6 @@ app.controller("AppTest", function($scope, $http){
});
$http.get('/lnew').success(function(data) {
$scope.lNew = data;
console.log(data);
});
$http.get('/rnew').success(function(data) {
$scope.rNew = data;
Expand Down

0 comments on commit daa2a64

Please sign in to comment.