mirror of
https://github.com/fankes/AndroidNotifyIconAdapt.git
synced 2025-09-01 08:15:31 +08:00
Fix some typos in code
This commit is contained in:
@@ -195,10 +195,10 @@
|
||||
|
||||
function injectJsFiles(callback, ...names) {
|
||||
let loadedCount = 0;
|
||||
let radomTime = new Date().getTime();
|
||||
let randomTime = new Date().getTime();
|
||||
for (let i = 0; i < names.length; i++) {
|
||||
let script = document.createElement('script');
|
||||
script.src = 'resources/js/' + names[i] + '?randomId=' + radomTime;
|
||||
script.src = 'resources/js/' + names[i] + '?randomId=' + randomTime;
|
||||
script.onload = () => {
|
||||
loadedCount++;
|
||||
if (loadedCount >= names.length) setTimeout(() => { callback(); }, 150);
|
||||
|
@@ -26,6 +26,6 @@ const markdownContents = {
|
||||
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' +
|
||||
'GNU Affero General Public License for more details.\n\n' +
|
||||
'You should have received a copy of the GNU Affero General Public License\n' +
|
||||
'along with this program. If not, see <http://www.gnu.org/licenses/>.\n' +
|
||||
'along with this program. If not, see <http://www.gnu.org/licenses/>.\n' +
|
||||
'```'
|
||||
};
|
Reference in New Issue
Block a user