diff --git a/scripts/compress-archive.sh b/scripts/compress-archive.sh index 39854dec..8ac40a49 100755 --- a/scripts/compress-archive.sh +++ b/scripts/compress-archive.sh @@ -85,4 +85,8 @@ find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; +echo done. + + + # vim:set nowrap nospell : diff --git a/ui (gen4)/lib/keyboard.js b/ui (gen4)/lib/keyboard.js index 60b2ca4e..c7cec1b7 100755 --- a/ui (gen4)/lib/keyboard.js +++ b/ui (gen4)/lib/keyboard.js @@ -1089,15 +1089,15 @@ var KeyboardWithCSSModesPrototype = { return !pattern || pattern == '*' // jQuery... - || context.is ? + || (context.is ? (context.is(pattern) || context.find(pattern).length > 0) - : false + : false) // Vanilla JS... - || context.matches ? + || (context.matches ? (context.matches(pattern) || !!context.querySelector(pattern)) - : false + : false) }, __init__: function(keyboard, context){