[solved] Why am I getting double the JavaScript in footer

Permalink
I have this in my footer
<script src="<?php echo $view->getThemePath()?>/js/bootstrap.min.js" type="text/javascript"></script>    
<script src="<?php echo $view->getThemePath()?>/js/myscript.js" type="text/javascript"></script>


and this is what is showing up in the source

<script src="/c5/application/themes/tr/js/bootstrap.min.js" type="text/javascript"></script>    
<script src="/c5/application/themes/tr/js/myscript.js" type="text/javascript"></script>          
<script src="/c5/application/themes/tr/js/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="/c5/application/themes/tr/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/c5/application/themes/tr/js/myscript.js" type="text/javascript"></script>

Plus I have jQuery in the head too.
TIA

 
hissy replied on at Permalink Reply
hissy
Please share your entire footer.php and page_theme.php (if exists)
garyb10 replied on at Permalink Reply
The first 2 lines of code above is the footer. Below is page_theme.php


<?php
namespace Concrete\Theme\Concrete;
class PageTheme extends \application\themes\tr {
   public function registerAssets() {
      $this->providesAsset('javascript', 'bootstrap/*');
        $this->providesAsset('css', 'bootstrap/*');
   }
   protected $pThemeGridFrameworkHandle = 'bootstrap3';
}
hissy replied on at Permalink Reply
hissy
your page_theme.php seems no problem.
only two lines in your footer.php?