mirror of
https://github.com/michivonah/click-guide.git
synced 2025-12-22 22:16:28 +01:00
add first version of coordinate saving to add-on #4
This commit is contained in:
parent
5efe19df58
commit
94fb124a40
3 changed files with 16 additions and 3 deletions
|
|
@ -35,7 +35,8 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
|
|||
"description":"Short description of the step",
|
||||
"action":message.triggerName,
|
||||
"element":message.stepElement,
|
||||
"image":message.image
|
||||
"image":message.image,
|
||||
"elementPosition":message.elementPosition
|
||||
}
|
||||
steps.push(step);
|
||||
return sendResponse({ success: true, message: "Step successfully added to guide" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue