Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreHome/javascripts/top_controls.js')
-rw-r--r--plugins/CoreHome/javascripts/top_controls.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/javascripts/top_controls.js b/plugins/CoreHome/javascripts/top_controls.js
index c215e70f0f..f4a793b4b5 100644
--- a/plugins/CoreHome/javascripts/top_controls.js
+++ b/plugins/CoreHome/javascripts/top_controls.js
@@ -51,7 +51,7 @@ function initTopControls() {
}
}
-//Keyboard controls for Top Controls Calendar through tab and enter.
+//Keyboard controls for Top Controls Calendar through tab and enter.
$( document ).ready(function() {
$('.periodSelector').keydown(function(e){
toggleCalendar(e);
@@ -67,7 +67,7 @@ $( document ).ready(function() {
})
});
-//Keyboard controls for Top Controls Calendar through tab and enter.
+//Keyboard controls for Top Controls Calendar through tab and enter.
$( document ).ready(function() {
$('.periodSelector').keydown(function(e){
toggleCalendar(e);
@@ -85,7 +85,7 @@ $( document ).ready(function() {
function toggleCalendar(e){
var calendarOpen = $('.periodSelector').hasClass('expanded');
-
+
if(e.which==13){
if(calendarOpen){
$('.periodSelector').removeClass('expanded');
@@ -107,4 +107,4 @@ function blockPropegation(){
$('.ui-datepicker-month, .ui-datepicker-year, .periodSelector td a').keydown(function(e){
e.stopPropagation();
})
-} \ No newline at end of file
+}