mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
Use jQuery from CDN rather than framework
Static asset paths in framework aren't a public API, and hence shouldn't be relied on by other modules. The template already includes some shim JS from the web, so this doesn't change the fact that you need a network connection to fully use the default theme.
This commit is contained in:
parent
c8f07c500f
commit
06cc25449f
@ -37,7 +37,7 @@ Change it, enhance it and most importantly enjoy it!
|
||||
</div>
|
||||
<% include Footer %>
|
||||
|
||||
<% require javascript('framework/thirdparty/jquery/jquery.js') %>
|
||||
<% require javascript('http://code.jquery.com/jquery-1.7.2.min.js') %>
|
||||
<%-- Please move: Theme javascript (below) should be moved to mysite/code/page.php --%>
|
||||
<script type="text/javascript" src="{$ThemeDir}/javascript/script.js"></script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user