fix event handlers
This commit is contained in:
parent
9e2f0ad404
commit
6d35c64eb1
23 changed files with 92 additions and 567 deletions
|
|
@ -82,7 +82,7 @@ window.pandora = new Ox.App({url: '/api/'}).bindEvent({
|
|||
},
|
||||
flipbook: function(item) {
|
||||
var that = Ox.Flipbook({
|
||||
}).bindEvent('click', function(event, data) {
|
||||
}).bindEvent('click', function(data) {
|
||||
var item_url = document.location.origin + '/' + item;
|
||||
window.top.location.href = item_url + '/timeline#t=' + data.position;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue