summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorFernando San Julián <fjsanjulian@hotmail.com>2015-08-03 21:27:07 +0200
committerFernando San Julián <fjsanjulian@hotmail.com>2015-08-03 21:27:07 +0200
commit6a89eeedf3e2130031ac75b8329037424f936013 (patch)
tree8cc2a45ff69c2d8f394717734ba78ccaabd4fcd8 /templates
parent03011e31fe3afebeca78ccd31a891cbba69f06d5 (diff)
downloadgitea-6a89eeedf3e2130031ac75b8329037424f936013.tar.gz
gitea-6a89eeedf3e2130031ac75b8329037424f936013.zip
browser supports copy detection
Diffstat (limited to 'templates')
-rw-r--r--templates/ng/base/head.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ng/base/head.tmpl b/templates/ng/base/head.tmpl
index 6d5001a9cb..faafef563a 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html{{if .BrowserSupportsCopy}} class="is-copy-enabled"{{end}}>
<head data-suburl="{{AppSubUrl}}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>