@pocketprep/ui-kit 3.4.89 → 3.4.90
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.
|
@@ -997,7 +997,7 @@ export default class Question extends Vue {
|
|
|
997
997
|
keywordClick (event: MouseEvent) {
|
|
998
998
|
const target = event.target as HTMLElement
|
|
999
999
|
if (target.classList.contains('keyword-highlight')) {
|
|
1000
|
-
const keyword = target.innerText
|
|
1000
|
+
const keyword = target.innerText.trim()
|
|
1001
1001
|
const location = target.getAttribute('data-location')
|
|
1002
1002
|
const clickLocation = { x: event.clientX, y: event.clientY }
|
|
1003
1003
|
return {
|