mdkcontroller 1.4.12 → 1.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -223,8 +223,9 @@
223
223
  <script src="../file/dk.js"></script>
224
224
  <script src="../file/jquery-3.2.1.min.js"></script>
225
225
  <script>
226
+ const el = (id) => document.getElementById(id);
226
227
  function loginWithDKService() {
227
- const form = event.currentTarget;
228
+ const form = el('formLogin');
228
229
  const formData = new FormData(form);
229
230
  DK.RequestLoginBySW(formData.get('passwordChange') || '');
230
231
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "node-cache": "^5.1.2"
9
9
  },
10
10
  "name": "mdkcontroller",
11
- "version": "1.4.12",
11
+ "version": "1.4.15",
12
12
  "keywords": [],
13
13
  "author": "KHANHNBD <khanh272421@gmail.com>",
14
14
  "license": "ISC",