aboutsummaryrefslogtreecommitdiffstats
path: root/ui/focusable.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:14:57 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:24 -0400
commitfe5534b3479e5971b370636f7da34c0a1b4a7e42 (patch)
tree664e534389d119650a7673351c16fe02dc300673 /ui/focusable.js
parentc9fbb763ab50158ab9a598032ba1a137f760939e (diff)
downloadjquery-ui-fe5534b3479e5971b370636f7da34c0a1b4a7e42.tar.gz
jquery-ui-fe5534b3479e5971b370636f7da34c0a1b4a7e42.zip
Core: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'ui/focusable.js')
-rw-r--r--ui/focusable.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/focusable.js b/ui/focusable.js
index b6e86e062..a50598cd4 100644
--- a/ui/focusable.js
+++ b/ui/focusable.js
@@ -24,7 +24,7 @@
}
} ( function( $ ) {
-// selectors
+// Selectors
$.ui.focusable = function( element, hasTabindex ) {
var map, mapName, img,
nodeName = element.nodeName.toLowerCase();
@@ -42,7 +42,8 @@ $.ui.focusable = function( element, hasTabindex ) {
"a" === nodeName ?
element.href || hasTabindex :
hasTabindex ) &&
- // the element and all of its ancestors must be visible
+
+ // The element and all of its ancestors must be visible
visible( element );
};