diff --git a/js/app.js b/js/app.js index 678228b..848391d 100644 --- a/js/app.js +++ b/js/app.js @@ -39,6 +39,11 @@ }; }); + // Hack to prevent text highlighting + document.getElementById('detector').addEventListener('mousedown', function(e) { + e.preventDefault(); + }); + app.controller('LabController', ['$interval', function($interval) { this.lab = lab; this.showDetectorInfo = function() {