fix delete name, and start moving handlers to '#content'
This commit is contained in:
@@ -21,7 +21,9 @@ $(document).ready(function() {
|
||||
$(document).pjax('a[data-pjax]', '#content');
|
||||
});
|
||||
|
||||
$(document).on('ready pjax:success', function() {
|
||||
$(document).on('ready pjax:end', function() {
|
||||
$('#content').off();
|
||||
|
||||
// Update the title
|
||||
document.title = document.getElementById('site-title').innerHTML;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user