Typo
This commit is contained in:
parent
ba94fddb80
commit
7c14577bbc
|
@ -4,7 +4,7 @@
|
||||||
const tabName="OBP60";
|
const tabName="OBP60";
|
||||||
api.registerListener((id, data) => {
|
api.registerListener((id, data) => {
|
||||||
// if (!data.testboard) return; //do nothing if we are not active
|
// if (!data.testboard) return; //do nothing if we are not active
|
||||||
let page = api.addTabPage(tabName, "Screenshot");
|
let page = api.addTabPage(tabName, "OBP60");
|
||||||
api.addEl('button', '', page, 'Screenshot').addEventListener('click', function (ev) {
|
api.addEl('button', '', page, 'Screenshot').addEventListener('click', function (ev) {
|
||||||
window.open('/api/user/OBP60Task/screenshot', 'screenshot');
|
window.open('/api/user/OBP60Task/screenshot', 'screenshot');
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue