Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

loader.js included twice

Questions related to using nuBuilder Forte.
Locked
Timo
Posts: 221
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: 221
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: 221
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: 221
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: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: loader.js included twice

Unread post by admin »

.
Locked