Commit graph

37 commits

Author SHA1 Message Date
j
ac1a4ef961 avoid memory leak in jQuery.cache 2023-08-06 11:49:55 +02:00
j
f8b218ec59 only post if target exists 2023-07-21 11:21:30 +01:00
j
b7c201a74f handle type ["integer"] in url and fix inbetween vs ["integer"] filter 2023-07-06 11:52:36 +05:30
j
c4413d9fd7 icon fallback 2021-06-15 20:58:52 +01:00
j
e497e7a7ac remove anything after fbclid=, closes #3240 2020-08-31 23:12:46 +02:00
j
ffeee38d7d remove facebook spam from url 2020-05-31 10:49:50 +02:00
j
39229c99a3 not all numbers are dates 2020-04-28 21:25:28 +02:00
j
3eb6e3f432 firefox osx has 0 now 2020-01-20 17:35:52 +01:00
j
88086fb5bd imdb can also be 8 digits 2019-07-23 16:15:51 +02:00
j
b8a46dbee4 fix menus and dialogs in fullscreen mode 2019-02-21 16:10:58 +05:30
j
ad7e833519 theme scrollbars according to https://drafts.csswg.org/css-scrollbars/ 2018-11-12 09:24:05 +01:00
j
d9695f8540 also parse if only strings are allowed 2018-03-13 18:09:01 +05:30
j
c02a08c8d9 typos 2017-11-13 15:53:19 +01:00
j
afea7ed9a9 followup tp 0a9c30d - .addEventListener does not have originalEvent 2017-11-13 15:16:25 +01:00
j
0a9c30d1dc use passive for touch events if possible, fixes #3059 2017-11-06 07:43:18 +02:00
j
66a130e35f element can also be removed during gainfocus 2017-07-29 22:06:27 +02:00
j
74f3f58942 support string span 2017-01-25 22:38:57 +01:00
j
927678e6be Ox.URL: support findKeys per type 2016-10-14 14:12:01 +02:00
j
0f10b4be47 don't fail if elements in focus stack are gone 2016-09-07 11:28:58 +02:00
j
4c54a294f6 use requestAnimationFrame for loading icon if available 2016-08-09 14:11:43 +02:00
j
f043242640 add some touch support
- fire touch(start|move|end) events after adding clinetX/Y
- use touch events in video and timeline widgets
- use touchstart to select item in ArrayEditable
2016-07-27 21:55:34 +02:00
ec85c7b458 Element: faster tooltip event binding
Even when there is no tooltip, setTooltip() accounts for about 5% of the
time spent setting the values on an ArrayEditable, of which about 2% is
Ox.filter.

There only a few possible sets of events, so use object identity rather
than calculating the set difference. In particular, this is a lot faster
when self.options.tooltip is false-y.

(I think it was actually wrong before, anyway:

    bindTooltipEvents({mouseenter, mouseleave})
    bindTooltipEvents({mousemove, mouseleave})

would (correctly) unbind mouseenter and bind mousemove, but would set
boundTooltipEvents = {mousemove} even though mouseleave is still bound.)
2016-06-23 17:56:22 +02:00
869de36163
Fix Ox.Request.cancel(fn) (fixes #2932)
arguments[0] === req inside the forEach callback, so previously this
would throw

    TypeError: arguments[0] is not a function
2016-06-22 15:53:18 +01:00
j
19be508afe Fix pending requests: depend on data not id. 2016-01-02 19:31:56 +05:30
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