Auto height and feedback link
authorCameron Ball <c.ball1729@gmail.com>
Sun, 22 Feb 2015 18:03:02 +0000 (02:03 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Sun, 22 Feb 2015 18:03:02 +0000 (02:03 +0800)
app/index.html
app/pages/packs/packs.js

index fe5d3d0..5ce2f85 100644 (file)
@@ -76,7 +76,7 @@
             </div>
         </div>
 
-        <div id="privacy"><a href="http://divinelegy.com/privacy.pdf" target="_blank">Privacy Policy</a></div>
+        <div id="privacy"><a href="http://divinelegy.com/privacy.pdf" target="_blank">Privacy Policy</a> | <a href="https://github.com/DivinElegy/roll.divinelegy/issues" target="_blank">Feedback</a></div>
         <!-- <div>Angular seed app: v<span app-version></span></div> -->
     </body>
 </html>
index 34bbcbf..f770fe8 100644 (file)
@@ -151,7 +151,7 @@ angular.module("DivinElegy.pages.packs", ["DivinElegy.components.simfiles","Divi
 //            //TODO: 404 page?
 //            if(!$scope.pack) $location.path('/');
         } else {
-            $scope.pageSize = UiSettingsService.getDirective('simfilesPerPageAuto') ? Math.floor(($window.innerHeight - 280)/40) : UiSettingsService.getDirective('simfilesPerPage');
+            $scope.pageSize = UiSettingsService.getDirective('simfilesPerPageAuto') ? Math.floor(($window.innerHeight - 280)/40 - 1) : UiSettingsService.getDirective('simfilesPerPage');
             $scope.currentPage = 1;
             $scope.packList = packs;
             $scope.filteredPackList = packs;