Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Remove ngTough, use standard angular click events
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McLeod committed May 27, 2015
1 parent 6e94897 commit a1939fa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<meta name="msapplication-config" content="/images/logo/browserconfig.xml">
<meta name="theme-color" content="#000000">
</head>
<body ng-click="bgClicked($event)">
<body>
<div style="height: 0; width: 0; overflow:hidden"><%= svgContent %></div>
<shipyard-header></shipyard-header>
<div id="main" ui-view></div>
<div id="main" ui-view ng-click="bgClicked($event)"></div>

<div ui-view="modal"></div>

Expand Down
3 changes: 2 additions & 1 deletion app/js/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
angular.module('app', ['ngTouch', 'ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', 'shipyard', 'ngLodash', 'app.templates'])
angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', 'shipyard', 'ngLodash', 'app.templates'])
.run(['$rootScope', '$location', '$window', '$document','$state','commonArray','shipPurpose','shipSize','hardPointClass','internalGroupMap','hardpointsGroupMap', function ($rootScope, $location, $window, $doc, $state, CArr, shipPurpose, sz, hpc, igMap, hgMap) {

// Redirect any state transition errors to the error controller/state
$rootScope.$on('$stateChangeError', function(e, toState, toParams, fromState, fromParams, error){
e.preventDefault();
Expand Down
3 changes: 3 additions & 0 deletions app/less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ body {
margin: 0;
padding: 0;
font-family: @fStandard;
}

div, a, li {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

// iPads Landscape
Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"angular-ui-router": "^0.2.15",
"d3-tip": "~0.6.7",
"ng-sortable": "~1.2.1",
"lz-string": "~1.4.3",
"angular-touch": "~1.3.15"
"lz-string": "~1.4.3"
},
"overrides": {
"ui-router-extras": {
Expand Down

0 comments on commit a1939fa

Please sign in to comment.