mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
HOTFIX for scripts
This commit is contained in:
@@ -61,10 +61,12 @@ var ajaxify = {};
|
||||
|
||||
if (templates.is_available(tpl_url) && !templates.force_refresh(tpl_url)) {
|
||||
if (quiet !== true) {
|
||||
if (window.history && window.history.pushState) {
|
||||
window.history.pushState({
|
||||
"url": url
|
||||
}, url, RELATIVE_PATH + "/" + url);
|
||||
}
|
||||
}
|
||||
|
||||
jQuery('#footer, #content').fadeOut(100);
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</script>
|
||||
<script src="{relative_path}/socket.io/socket.io.js"></script>
|
||||
<!-- BEGIN clientScripts -->
|
||||
<script src="{relative_path}{clientScripts.script}"></script>
|
||||
<script src="{relative_path}/{clientScripts.script}"></script>
|
||||
<!-- END clientScripts -->
|
||||
<script>
|
||||
require.config({
|
||||
|
||||
22
src/meta.js
22
src/meta.js
@@ -149,17 +149,17 @@ var utils = require('./../public/src/utils.js'),
|
||||
|
||||
Meta.js = {
|
||||
scripts: [
|
||||
'/vendor/jquery/js/jquery.js',
|
||||
'/vendor/jquery/js/jquery-ui-1.10.3.custom.min.js',
|
||||
'/vendor/jquery/js/jquery.timeago.js',
|
||||
'/vendor/bootstrap/js/bootstrap.min.js',
|
||||
'/src/app.js',
|
||||
'/vendor/requirejs/require.js',
|
||||
'/vendor/bootbox/bootbox.min.js',
|
||||
'/src/templates.js',
|
||||
'/src/ajaxify.js',
|
||||
'/src/jquery.form.js',
|
||||
'/src/utils.js'
|
||||
'vendor/jquery/js/jquery.js',
|
||||
'vendor/jquery/js/jquery-ui-1.10.3.custom.min.js',
|
||||
'vendor/jquery/js/jquery.timeago.js',
|
||||
'vendor/bootstrap/js/bootstrap.min.js',
|
||||
'src/app.js',
|
||||
'vendor/requirejs/require.js',
|
||||
'vendor/bootbox/bootbox.min.js',
|
||||
'src/templates.js',
|
||||
'src/ajaxify.js',
|
||||
'src/jquery.form.js',
|
||||
'src/utils.js'
|
||||
],
|
||||
minFile: path.join(__dirname, '..', 'public/src/nodebb.min.js'),
|
||||
get: function (callback) {
|
||||
|
||||
Reference in New Issue
Block a user