Skip to content

Commit

Permalink
Merge pull request #1646 from openhealthcare/davidmiller-patch-11
Browse files Browse the repository at this point in the history
Remove setting of body.touch in base.html (Unused)
  • Loading branch information
fredkingham committed Nov 9, 2018
2 parents cb779a5 + cd99e85 commit 3d5c7ce
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions opal/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,7 @@ <h4 class="growl-title" ng-show="message.title" ng-bind="message.title"></h4>

</head>
<body>
{% block application %}{% endblock %}
<script>
// temporary for try outs
jQuery(function($){

// Touch Device Detection
var isTouchDevice = 'ontouchstart' in document.documentElement;
if( isTouchDevice ) {
$('body').addClass('touch');
}

});
</script>

{% block application %}{% endblock %}
<!-- google analytics -->
{% block analytics %}
<script>
Expand Down

0 comments on commit 3d5c7ce

Please sign in to comment.