Skip to content

Commit

Permalink
unnecessary scripts deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
enchained committed May 26, 2014
1 parent f8051a0 commit ec778e7
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 1,057 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
</div>

<script src="js/angular.min.js"></script>
<script src="js/ui-bootstrap-tpls-0.11.0.js"></script>
<script src="js/app.js"></script>
<script src="js/ui-bootstrap-tpls-0.11.0.js"></script>

</body>
</html>
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@
} else {
if (newSearchKeywords && (newSearchKeywords !== $scope.searchKeywords)) {
newSearchKeywords = $scope.searchKeywords;
// if ($scope.currentPage !== 1) {
if ($scope.currentPage !== 1) {
$scope.currentPage = 1;
return;
// }
}
$scope.fetchOnePage($scope.currentPage);
} else if (newSearchKeywords && (newSearchKeywords === $scope.searchKeywords)) {
newSearchKeywords = $scope.searchKeywords;
Expand Down
8 changes: 0 additions & 8 deletions js/filters.js

This file was deleted.

Loading

0 comments on commit ec778e7

Please sign in to comment.