summaryrefslogtreecommitdiffstats
path: root/site/inspector.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'site/inspector.mjs')
-rw-r--r--site/inspector.mjs18
1 files changed, 9 insertions, 9 deletions
diff --git a/site/inspector.mjs b/site/inspector.mjs
index b2efb1c..398ad2c 100644
--- a/site/inspector.mjs
+++ b/site/inspector.mjs
@@ -1,14 +1,14 @@
-const SRC_SELECT_SELECTOR = '#src-select';
-const COMPILE_BUTTON_SELECTOR = '#compile';
-const WORDLIST_SELECTOR = '#wordlist';
-const STACK_SELECTOR = '#stack';
-const CALLSTACK_SELECTOR = '#callstack';
-const VARS_SELECTOR = '#vars';
-const SRC_SELECTOR = '#src';
-const IP_SELECTOR = '#wordlist .ip';
+const SRC_SELECT_SELECTOR = '.src-select';
+const COMPILE_BUTTON_SELECTOR = '.compile';
+const WORDLIST_SELECTOR = '.wordlist';
+const STACK_SELECTOR = '.stack';
+const CALLSTACK_SELECTOR = '.callstack';
+const VARS_SELECTOR = '.vars';
+const SRC_SELECTOR = '.src';
+const IP_SELECTOR = '.wordlist .ip';
function selectorForIP(word, offset) {
- return `#wordlist x-bytecode[x-index='${word}'] x-op[x-index='${offset}']`;
+ return `.wordlist x-bytecode[x-index='${word}'] x-op[x-index='${offset}']`;
}
function wordlistElts(wordlist) {