mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
69aafbf131
commit
9c9962c21a
@ -3808,8 +3808,8 @@ var HTMLBrowserPrototype = {
|
||||
// ...how do we collapse/expand a disabled root?
|
||||
// ...what do we focus when toggleing disabled?
|
||||
// XXX handle .options.focusDisabled correctly...
|
||||
// - tabindex
|
||||
// - ...
|
||||
// - tabindex -- DONE
|
||||
// - ???
|
||||
renderItem: function(item, i, context){
|
||||
var that = this
|
||||
var options = context.options || this.options || {}
|
||||
@ -3868,7 +3868,7 @@ var HTMLBrowserPrototype = {
|
||||
return !!item[cls] })))
|
||||
|
||||
// attrs...
|
||||
item.disabled
|
||||
;(item.disabled && !options.focusDisabled)
|
||||
|| elem.setAttribute('tabindex', '0')
|
||||
Object.entries(item.attrs || {})
|
||||
// shorthand attrs...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user