diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-09-27 00:41:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 00:41:55 +0300 |
commit | 947a78cde33138640c9a670afb32ef85b71338f5 (patch) | |
tree | 1d3d871d39e08dc5c171a6b1e0b5734cd4526eb8 /plugins/SitesManager/templates | |
parent | 3b09e9abc1f255a3d14c7db98b49894bbab02096 (diff) |
Various minor tweaks to 3.x (#10566)
* Remove code block height as it looks better to let the browser set height automatically (ie. no scroll bar)
* Remove deprecated code
* UI tests: nicer code block
* select on focus the tracking code
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/_displayJavascriptCode.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/templates/_displayJavascriptCode.twig b/plugins/SitesManager/templates/_displayJavascriptCode.twig index b523ec28e7..c80d286609 100644 --- a/plugins/SitesManager/templates/_displayJavascriptCode.twig +++ b/plugins/SitesManager/templates/_displayJavascriptCode.twig @@ -9,7 +9,7 @@ <p>{{ 'CoreAdminHome_JSTracking_CodeNoteBeforeClosingHead'|translate("</head>")|raw }}</p> - <pre>{{ jsTag|raw }}</pre> + <pre piwik-select-on-focus>{{ jsTag|raw }}</pre> <p>{{ 'CoreAdminHome_JSTrackingIntro5'|translate('<a rel="noreferrer" target="_blank" href="http://piwik.org/docs/javascript-tracking/">','</a>')|raw }}</p> |