Commit d5f15020040416dcdaa343fac5369dd9c4197aff
Exists in
master
and in
1 other branch
Merge branch 'master' of git.ucsd.edu:110swag/flashy-frontend
Showing 2 changed files Side-by-side Diff
scripts/StudyController.js
View file @
d5f1502
... | ... | @@ -4,7 +4,8 @@ |
4 | 4 | function($scope, $stateParams, $state, $http, UserService) { |
5 | 5 | console.log('Flashy study controller content in this file. also hell0'); |
6 | 6 | sectionId = $stateParams.sectionId; |
7 | - | |
7 | + $scope.isParamOpen = true; | |
8 | + | |
8 | 9 | $(document).ready(function() { |
9 | 10 | $('.datepicker').pickadate({ |
10 | 11 | selectMonths: true, // Creates a dropdown to control month |
templates/study.html
View file @
d5f1502
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | ng-click="openParams()"> |
5 | 5 | <i class="mdi-image-filter-drama"></i>Choose study settings</div> |
6 | 6 | |
7 | -<div class="study-params dropping" ng-init="isParamOpen = true" ng-if="isParamOpen"> | |
7 | +<div class="study-params dropping" ng-show="isParamOpen"> | |
8 | 8 | <div class="row"> |
9 | 9 | <h3>Choose what to study</h3> |
10 | 10 | <!-- lots of difficulty with materializecss select and angularjs. If we want to |