fix incorrect debugging selectors

This commit is contained in:
Dennis Eichhorn 2019-10-05 20:02:36 +02:00
parent e68a832044
commit b62e60940b
2 changed files with 24 additions and 24 deletions

View File

@ -8,13 +8,13 @@
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
[data-action]:not([id]), [data-action]:not([id=""]) { [data-action]:not([id]), [data-action][id=""] {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
a:not([href]), a:not([href]),
a:[href="#"], a[href="#"],
a:[href=""], a[href=""],
a[href*="javascript:void(0)"], a[href*="javascript:void(0)"],
a:empty a:empty
a:empty[title=""], a:empty[title=""],
@ -76,7 +76,7 @@ textarea:not([name]) {
animation: blink .5s step-end infinite alternate; animation: blink .5s step-end infinite alternate;
} }
form:not([id]), form:not([id=""]), form:not([id]), form[id=""],
form:not([name]):not([id]), form:not([name]):not([id]),
form:not([action]), form:not([action]),
form[action=" "], form[action=" "],

View File

@ -87,7 +87,7 @@ export class Application {
/** global: KEYBOARD_EVENTS */ /** global: KEYBOARD_EVENTS */
let length = KEYBOARD_EVENTS.length; let length = KEYBOARD_EVENTS.length;
for(let i = 0; i < length; i++) { for(let i = 0; i < length; ++i) {
this.inputManager.getKeyboardManager().add( this.inputManager.getKeyboardManager().add(
KEYBOARD_EVENTS[i]['element'], KEYBOARD_EVENTS[i]['element'],
KEYBOARD_EVENTS[i]['keys'], KEYBOARD_EVENTS[i]['keys'],
@ -101,7 +101,7 @@ export class Application {
/** global: MOUSE_EVENTS */ /** global: MOUSE_EVENTS */
let length = MOUSE_EVENTS.length; let length = MOUSE_EVENTS.length;
for(let i = 0; i < length; i++) { for(let i = 0; i < length; ++i) {
this.inputManager.getMouseManager().add( this.inputManager.getMouseManager().add(
MOUSE_EVENTS[i]['element'], MOUSE_EVENTS[i]['element'],
MOUSE_EVENTS[i]['type'], MOUSE_EVENTS[i]['type'],