Skip to content

Commit

Permalink
Merge pull request #3 from sonjoydatta/master
Browse files Browse the repository at this point in the history
[bugfix] bKash script loading condition
  • Loading branch information
sonjoydatta committed May 22, 2021
2 parents b891620 + ef5c44f commit 72918f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-bkash",
"version": "1.0.5",
"version": "1.0.6",
"description": "A React Component for Accepting Bkash Payments using React",
"author": "Shahriar Shojib <shahriar_shojib@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default {
strict: false,
},
],
plugins: [typescript({ check: false }), terser.terser({ ecma: 5, compress: true })],
plugins: [typescript({ check: false })],
external: ['react', 'react-dom'],
};
2 changes: 1 addition & 1 deletion src/utils/loadDeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const loadDeps = async (bkashScriptURL: string) => {
}
createBkashButton();

if (!document.querySelector('#jquery')) {
if (!document.querySelector('#bkashScript')) {
await loadScript(bkashScriptURL, 'bkashScript');
}
};

0 comments on commit 72918f0

Please sign in to comment.