aloha-vue 1.0.35 → 1.0.36

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.35",
4
+ "version": "1.0.36",
5
5
  "author": "Ilia Brykin",
6
6
  "scripts": {
7
7
  "build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1"
@@ -371,7 +371,7 @@ export default {
371
371
 
372
372
  onFocusByDestroyForSelector({ selector }) {
373
373
  const ELEMENT = document.querySelector(selector);
374
- if (ELEMENT.length > 0) {
374
+ if (ELEMENT) {
375
375
  ELEMENT.focus();
376
376
  return true;
377
377
  }