Commit graph

13 commits

Author SHA1 Message Date
j
6988dfa89f don't break on unknown keys 2015-05-23 13:02:39 +02:00
3ed5da882f Element: 'fix' mousewheel event before modifying it
In strict mode (in recent browsers), modifying deltaX on a WheelEvent
throws an exception:

Uncaught TypeError: Cannot set property deltaX of #<WheelEvent> which has only a getter

In non-strict mode or older browsers, assigning to deltaX is just a
no-op.

https://github.com/jquery/jquery-mousewheel/blob/master/jquery.mousewheel.js
is cited in this function; it uses $.event.fix() to make a mutable
jQuery.Event-flavoured copy of the native event before modifying its
properties. Let's do the same.

Fixes #2751
2015-05-20 12:33:44 +02:00
j
398e3f6749 encode state.part in url, fixes #2725 2015-03-31 20:53:55 +02:00
j
c7bf33fdfe expose new Ox.Element as in setElement 2015-03-24 19:07:23 +05:30
j
9e8e145924 continue parsing if getPart resets page 2015-02-20 21:00:03 +05:30
j
1554d19f91 add part span in constructUrl 2015-02-05 06:29:46 +00:00
rolux
62ade0f54f Ox.URL: add support for /documents/ID/span 2015-02-05 11:44:10 +05:30
rolux
36ffd07203 revert 3624 2015-02-05 11:02:38 +05:30
j
5835cbc38c allow pages to have additional url parts 2015-02-04 15:32:24 +05:30
rolux
8f9a013236 remove debugging code 2014-12-22 22:21:20 +00:00
rolux
7024ef53b5 debugging 2014-12-22 22:15:54 +00:00
j
6b9b86e95a fix iframe init, compare to timestamp not date string 2014-10-09 12:56:13 +02:00
rolux
51696562f1 remove unneeded Ox. prefix from path and file names 2014-09-26 15:51:50 +02:00