works until loading page
This commit is contained in:
20
home.js
20
home.js
@@ -1,13 +1,13 @@
|
||||
window.onload = run;
|
||||
function run()
|
||||
{
|
||||
document.getElementById("id_run").addEventListener("click", function(e){
|
||||
console.log("triggered!!");
|
||||
alert("judihudi");
|
||||
startBackgroundScript();
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
//window.onload = run;
|
||||
//function run()
|
||||
//{
|
||||
document.getElementById("id_run").addEventListener("click", function(e){
|
||||
console.log("triggered!!");
|
||||
alert("judihudi");
|
||||
startBackgroundScript();
|
||||
e.preventDefault();
|
||||
});
|
||||
//}
|
||||
|
||||
|
||||
function startBackgroundScript()
|
||||
|
||||
Reference in New Issue
Block a user