Setting preventMouseDownDefault false by default

This commit is contained in:
Francisco Hodge
2018-11-25 12:03:40 -05:00
parent 682660d638
commit 97b475a2b7
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v2.11.0
* simple-keyboard v2.11.1
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef)
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "simple-keyboard",
"version": "2.11.0",
"version": "2.11.1",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"scripts": {
+1 -1
View File
@@ -63,7 +63,7 @@ class SimpleKeyboard {
this.options.layoutName = this.options.layoutName || "default";
this.options.theme = this.options.theme || "hg-theme-default";
this.options.inputName = this.options.inputName || "default";
this.options.preventMouseDownDefault = this.options.preventMouseDownDefault === false ? false : true;
this.options.preventMouseDownDefault = this.options.preventMouseDownDefault || false;
/**
* @type {object} Classes identifying loaded plugins