Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

loader.js included twice

Questions related to using nuBuilder Forte.
Locked
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

loader.js included twice

Unread post by Timo »

loader.js is included twice by nuBuilder in index.php, the first time with no closing </script> tag.

Code: Select all

<!DOCTYPE html>
<html onclick="nuClick(event)">

<head>
<title>TP Portal</title>
<meta http-equiv='Content-type' content='text/html;charset=UTF-8'>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"><script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
Check done with https://www.freeformatter.com/html-validator.html
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: loader.js included twice

Unread post by Timo »

The html validator also reports a stray end tag “script”

Code: Select all

From line 159, column 1 to line 159, column 9
Code Extract:
</script></script>↩<sty

Code: Select all

</script>   <---- here!

</head>

<body id='nubody' onload="nuLoad()" onresize="nuResize()">

</body>

</html>

Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: loader.js included twice

Unread post by Timo »

Should I report these kind of "issue" on github?
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: loader.js included twice

Unread post by Timo »

Can this be closed?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: loader.js included twice

Unread post by admin »

.
Locked