mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fixed jquery ui package
This commit is contained in:
@@ -22,6 +22,7 @@ var ajaxify = {};
|
|||||||
window.onpopstate = function (event) {
|
window.onpopstate = function (event) {
|
||||||
if (event !== null && event.state && event.state.url !== undefined && !ajaxify.initialLoad) {
|
if (event !== null && event.state && event.state.url !== undefined && !ajaxify.initialLoad) {
|
||||||
ajaxify.go(event.state.url, null, true);
|
ajaxify.go(event.state.url, null, true);
|
||||||
|
$(window).trigger('action:popstate', {url: event.state.url});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -129,7 +130,7 @@ var ajaxify = {};
|
|||||||
$this.addClass($this.attr('no-widget-class'));
|
$this.addClass($this.attr('no-widget-class'));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
next(err);
|
next(err);
|
||||||
});
|
});
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
|||||||
var Category = {},
|
var Category = {},
|
||||||
loadingMoreTopics = false;
|
loadingMoreTopics = false;
|
||||||
|
|
||||||
|
$(window).on('action:popstate', function(ev, data) {
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
Category.init = function() {
|
Category.init = function() {
|
||||||
var cid = templates.get('category_id'),
|
var cid = templates.get('category_id'),
|
||||||
categoryName = templates.get('category_name'),
|
categoryName = templates.get('category_name'),
|
||||||
|
|||||||
3028
public/vendor/jquery/js/jquery-ui-1.10.4.custom.js
vendored
3028
public/vendor/jquery/js/jquery-ui-1.10.4.custom.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user