]> source.dussan.org Git - sonarqube.git/commitdiff
Fix FF issue with selecting all on the screen
authorStas Vilchik <vilchiks@gmail.com>
Fri, 11 Apr 2014 10:31:40 +0000 (16:31 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 11 Apr 2014 10:31:48 +0000 (16:31 +0600)
sonar-server/src/main/coffee/coding-rules/layout.coffee
sonar-server/src/main/js/issues/app.js

index 4f243a478e8ff8fff5d51da479c46caf3bf97e74..2e526b386e0fcadbcf06e6a89c69633f57463a55 100644 (file)
@@ -85,5 +85,5 @@ define [
 
     stopResize: ->
       if @isResize
-        jQuery('html').attr('unselectable', 'off').css('user-select', 'all').off('selectstart')
+        jQuery('html').attr('unselectable', 'off').css('user-select', 'text').off('selectstart')
       @isResize = false
index f2a6d04068ba11c9023c6fea9c43cac79858617b..ee5b8fba605abcf933de0a8fada7200c0bc276ae 100644 (file)
@@ -362,7 +362,7 @@ requirejs(
 
       NavigatorApp.stopResize = function() {
         if (this.isResize) {
-          jQuery('html').attr('unselectable', 'off').css('user-select', 'all').off('selectstart');
+          jQuery('html').attr('unselectable', 'off').css('user-select', 'text').off('selectstart');
         }
         this.isResize = false;
       };