From 53d708f8c8e7130c70db4a1a5241ccf00f75e824 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sun, 2 Jan 2022 18:38:12 -0500 Subject: [PATCH] rename alterApp() to use the same style of other xdc-related functions --- webxdc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webxdc.js b/webxdc.js index 457c0c4..26860b0 100644 --- a/webxdc.js +++ b/webxdc.js @@ -103,7 +103,7 @@ function clearXdcStorage() { alert("Done."); } -function alterApp() { +function alterXdcApp() { var title = document.getElementsByTagName('title')[0]; if (typeof title == 'undefined') { title = document.createElement('title'); @@ -122,4 +122,4 @@ function alterApp() { } } -window.addEventListener("load", alterApp); +window.addEventListener("load", alterXdcApp);