forked from 0x2620/oxjs
slice up
This commit is contained in:
parent
19dba40ec8
commit
af6c58bcaa
4 changed files with 6 additions and 20 deletions
2
index.js
2
index.js
|
|
@ -607,7 +607,7 @@ Ox.load(function() {
|
|||
},
|
||||
url: {
|
||||
get: function() {
|
||||
var split = window.location.hash.substr(1).split('/');
|
||||
var split = window.location.hash.slice(1).split('/');
|
||||
return {page: split[0], item: split[1] || ''};
|
||||
},
|
||||
set: function(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue