@ministryofjustice/frontend
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -343,3 +343,3 @@ ;(function(root, factory) { | ||
case this.keys.esc: | ||
if(!this.mq.matches) { | ||
if(!this.mql.matches) { | ||
this.menuButton.focus(); | ||
@@ -350,3 +350,3 @@ this.hideMenu(); | ||
case this.keys.tab: | ||
if(!this.mq.matches) { | ||
if(!this.mql.matches) { | ||
this.hideMenu(); | ||
@@ -374,2 +374,3 @@ } | ||
}; | ||
MOJFrontend.FilterToggleButton = function(options) { | ||
@@ -376,0 +377,0 @@ this.options = options; |
@@ -127,3 +127,3 @@ MOJFrontend.ButtonMenu = function(params) { | ||
case this.keys.esc: | ||
if(!this.mq.matches) { | ||
if(!this.mql.matches) { | ||
this.menuButton.focus(); | ||
@@ -134,3 +134,3 @@ this.hideMenu(); | ||
case this.keys.tab: | ||
if(!this.mq.matches) { | ||
if(!this.mql.matches) { | ||
this.hideMenu(); | ||
@@ -157,2 +157,2 @@ } | ||
} | ||
}; | ||
}; |
{ | ||
"name": "@ministryofjustice/frontend", | ||
"description": "The MOJ Frontend contains the code you need to start building user interfaces for UK Ministry of Justice government services.", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "moj/all.js", | ||
@@ -6,0 +6,0 @@ "sass": "moj/all.scss", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
759466
10148