Skip to content

Commit

Permalink
Merge pull request #15 from HichemTab-tech/feature/11-enable-context-…
Browse files Browse the repository at this point in the history
…menu-in-fake-input

feature/11-enable-context-menu-in-fake-input
  • Loading branch information
HichemTab-tech authored Aug 1, 2024
2 parents 7849e9e + 518ed1f commit 296f38b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You can install OTP-designer-jquery via npm:
You can also include OTP-designer-jquery directly from a CDN by adding the following script tag to your HTML file:

```HTML
<script src="https://cdn.jsdelivr.net/gh/HichemTab-tech/OTP-designer-jquery@2.3.0/dist/otpdesigner.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/HichemTab-tech/OTP-designer-jquery@2.3.1/dist/otpdesigner.min.js"></script>
```

### Local Download
Expand Down
4 changes: 2 additions & 2 deletions dist/otpdesigner.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* OTP-designer-jquery v2.3.0
* OTP-designer-jquery v2.3.1
* (c) HichemTech
* Released under the MIT License.
* Github: github.com/HichemTab-tech/OTP-designer-jquery
Expand Down Expand Up @@ -744,7 +744,7 @@ const otpdesigner = function (options = {}, ...args) {
settings.closeContextMenuElement();
});
if (settings.contextMenuElement) {
$(settings.contextMenuElement).find('.paste-action').on('click', function (e) {
$(settings.contextMenuElement).find('.paste-action').on('click', function () {
try {
navigator.clipboard.readText()
.then(text => {
Expand Down
4 changes: 2 additions & 2 deletions dist/otpdesigner.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "otp-designer-jquery",
"version": "2.3.0",
"version": "2.3.1",
"description": "OTP-designer-jquery: Create custom OTP code inputs effortlessly! This jQuery plugin enables designers and developers to design visually appealing, secure OTP code input fields. Enjoy seamless integration and built-in validation events, ensuring a delightful user experience. Simplify OTP input implementation with ease.",
"keywords": [
"jquery",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const webpack = require("webpack");
// noinspection JSUnresolvedReference
let bannerPlugin = new webpack.BannerPlugin({
banner: `/*!
* OTP-designer-jquery v2.3.0
* OTP-designer-jquery v2.3.1
* (c) HichemTech
* Released under the MIT License.
* Github: github.com/HichemTab-tech/OTP-designer-jquery
Expand Down

0 comments on commit 296f38b

Please sign in to comment.