markeh / NewsReader

0 stars 1 forks source link

Fixing javascript bug #6

Closed goofballLogic closed 6 years ago

goofballLogic commented 6 years ago

Trying again!

  1. Fixes #3
  2. Allows users to clear search by calling refreshNews
markeh commented 6 years ago

Hi,

It looks like we need the opening curly bracket on line61 of main.js that was removed in this commit

Should look like the below, seems like it was accidentally deleted: if(!$scope.querystring.q) {

goofballLogic commented 6 years ago

well done ; )

markeh commented 6 years ago

Merged, thanks for the help. Also copied this and the other improvements to the example site.