]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3981 Fix issue on Chrome
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 22 Jan 2013 15:44:12 +0000 (16:44 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 22 Jan 2013 15:44:12 +0000 (16:44 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/index.html.erb

index 25c95cb71dce6a83753dcb0897cbe6b086a78343..0b3d3f249ba81418b72e7f9a0c17c7779dfb4170 100644 (file)
@@ -19,7 +19,7 @@
         url += '?sort=' + columnName;
       }
       
-      if (!document.URL.contains('&asc=true')) {
+      if (document.URL.indexOf('&asc=true') == -1) {
         url += '&asc=true';
       }      
     }