Skip to content

Commit

Permalink
some fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
HichemTab-tech committed Aug 28, 2023
1 parent e967f7f commit 01a0b19
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 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.0.1/dist/otpdesigner.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/HichemTab-tech/OTP-designer-jquery@2.0.2/dist/otpdesigner.min.js"></script>
```

### Local Download
Expand Down
3 changes: 1 addition & 2 deletions dist/otpdesigner.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* OTP-designer-jquery v2.0.1
* OTP-designer-jquery v2.0.2
* (c) HichemTech
* Released under the MIT License.
* Github: github.com/HichemTab-tech/OTP-designer-jquery
Expand Down Expand Up @@ -573,7 +573,6 @@ const otpdesigner = function (options = {}, ...args) {
for (let i = 0; i < code.length; i++) {
$('#'+optInputId + (i) + "_" + data.idSuffix).trigger('otp-written', [code[i]]);
}
collectOtpCode(data);
}
return results;
},
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.0.1",
"version": "2.0.2",
"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
1 change: 0 additions & 1 deletion src/otpdesigner.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const otpdesigner = function (options = {}, ...args) {
for (let i = 0; i < code.length; i++) {
$('#'+optInputId + (i) + "_" + data.idSuffix).trigger('otp-written', [code[i]]);
}
collectOtpCode(data);
}
return results;
},
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.0.1
* OTP-designer-jquery v2.0.2
* (c) HichemTech
* Released under the MIT License.
* Github: github.com/HichemTab-tech/OTP-designer-jquery
Expand Down

0 comments on commit 01a0b19

Please sign in to comment.