Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An activeOnReadonly option to open the keyboard #653

Merged
merged 2 commits into from
Feb 21, 2018

Conversation

BastienVerschaete
Copy link
Contributor

An option so the user is still able to open the keyboard on readonly inputs.

@@ -3088,7 +3091,7 @@ http://www.opensource.org/licenses/mit-license.php
};

$keyboard.caret = function($el, param1, param2) {
if (!$el.length || $el.is(':hidden') || $el.css('visibility') === 'hidden') {
if (!$el || !$el.length || $el.is(':hidden') || $el.css('visibility') === 'hidden') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't change this, must have been done automatically when running the grunt command, I only changed the js/jquery.keyboard.js file

@Mottie Mottie merged commit 7cefb82 into Mottie:master Feb 21, 2018
@Mottie
Copy link
Owner

Mottie commented Feb 21, 2018

Awesome thanks!

Would you please update the wiki page docs as well? https://github.com/Mottie/Keyboard/wiki/Usability

Mottie added a commit that referenced this pull request Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants