fixes
This commit is contained in:
parent
807414b288
commit
94a6933294
4 changed files with 25 additions and 14 deletions
|
@ -41,7 +41,13 @@
|
|||
* relative to the anchor element.
|
||||
*/
|
||||
function showNote(anchor, position, html) {
|
||||
// ... your code ...
|
||||
|
||||
let note = document.createElement('div');
|
||||
note.className = "note";
|
||||
note.innerHTML = html;
|
||||
document.body.append(note);
|
||||
|
||||
positionAt(anchor, position, note);
|
||||
}
|
||||
|
||||
// test it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue