Result:
-Page reload ---> OK
-Scroll bar not working
Thank MoOx!
But I have problem with page scroll bar.
Here my code:
``` javascript
var pjaxOptions = {
elements: "a",
selectors: [".p-content"],
switches: {
".p-content": Pjax.switches.outerHTML,
},
debug:false,
}
var p = new Pjax(pjaxOptions)
```
Here my process code return result:
``` javascript
if (data.status == "success") {
notyfy({text: data.msg, type: "success", layout: "top"});
$("#modal-project").modal("hide");
p.loadUrl("/projects", Pjax.clone(p.options))
}
```
Result:
-Page reload ---> OK
-Scroll bar not working
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I want reload content pjax selector.
Please give me example about Extend Pjax or anyway solution to solve this problem
Can you try something like this ?
Thank MoOx!
But I have problem with page scroll bar.
Here my code:
Here my process code return result:
Result:
-Page reload ---> OK
-Scroll bar not working
What do you mean by scroll bar not working ? Please provide more informations.