Skip to content

Commit

Permalink
fix: small bug fixe
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Nov 10, 2015
1 parent 741a693 commit c929ed6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions angular-youtube-api-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ angular.module("jtt_youtube", [])
};

if (_params.searchString) {
youtubeSearchData.object.q = _params.q;
youtubeSearchData.object.q = _params.searchString;
}

youtubeSearchData.url = this.getYoutubeApiBaseUrl()+"search?";
Expand All @@ -90,7 +90,7 @@ angular.module("jtt_youtube", [])
youtubeSearchData.object = {
part: "id,snippet",
type: "video",
q: _params.q,
q: _params.searchString,
order: _params.order || "date",
key: _params.key,
maxResults: _params.maxResults || 20,
Expand Down
2 changes: 1 addition & 1 deletion angular-youtube-api-factory.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
"Jonathan Hornung <[email protected]>"
],
"version": "0.3.0",
"version": "0.3.1",
"description": "angular factory for youtube rest api connection",
"main": "angular-youtube-api-factory.js",
"moduleType": [],
Expand Down

0 comments on commit c929ed6

Please sign in to comment.