mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Ajax load php pages only
This commit is contained in:
parent
8e141ecb46
commit
e3d046974f
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ $(function() {
|
|||
|
||||
$(window).bind('hashchange', function(){
|
||||
newHash = window.location.hash.substring(1);
|
||||
if (newHash && newHash.indexOf("prettyPhoto") != 0) {
|
||||
if (newHash && newHash.indexOf("prettyPhoto") != 0 && newHash.indexOf(".php") > -1) {
|
||||
loadContentPage(jsWebPath + '/' + newHash);
|
||||
};
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue