evazion
8d07ad7390
js: clean up notice/error messaging.
2019-08-14 01:46:44 -05:00
evazion
e000bdb861
js: drop jquery-timeout plugin.
...
Replace with `Danbooru.Utility.delay`.
2019-08-14 01:46:44 -05:00
evazion
f886f2fdb3
posts/show: load flag/appeal/replacement dialogs via ajax ( #3922 ).
2018-09-26 20:01:14 -05:00
evazion
e9d6a0fda6
utility.js: remove dead Utility.without function.
2018-08-17 16:25:47 -05:00
evazion
21895ef0aa
utility.js: simplify $.fn.selectEnd().
...
Remove createTextRange fallback; setSelectionRange is supported by all modern browsers.
https://caniuse.com/#feat=input-selection
2018-08-17 16:25:47 -05:00
evazion
dfffabd662
utility.js: replace Utility.scroll_to with Element.scrollIntoView.
...
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
https://caniuse.com/#feat=scrollintoview
2018-08-17 16:25:47 -05:00
evazion
ad056e69d5
utility.js: simplify even/odd table row striping.
2018-08-17 16:25:36 -05:00
evazion
107d19c6b3
Tag scripts: drop [if ...] and [reset] syntax ( fix #3807 , #3773 )
...
Fixes #3807 . Drops the TagScript module entirely and replaces it with
a simple call to Post.tag.
Simultaneously fixes #3773 as a consequence of removing TagScript.run.
Post.update already updates data-tags by itself, so there was no need
for TagScript.run to update data-tags as well.
2018-08-08 16:01:42 -05:00
Albert Yi
fd8568c726
Merge branch 'master' into feat-eslint
2018-08-06 10:27:32 -07:00
Albert Yi
3672eedd36
expose additional js modules ( #3795 )
2018-08-06 10:13:11 -07:00
evazion
f72b32b27b
Fix eslint warnings.
2018-08-05 18:30:25 -05:00
evazion
9ee93a8d1f
Utility.keydown(): fix search+replace mistake ( #3799 ).
2018-08-04 18:14:54 -05:00
evazion
0c5b5e28b5
utility.js: remove unused get_url_parameter function.
...
Unused since 025d66a6 .
2018-08-04 18:14:54 -05:00
Albert Yi
d999bd124c
remove unused hash method on string
2018-08-03 17:26:38 -07:00
Albert Yi
cffb08a4b6
add global hooks for autocomplete functions #3795
2018-08-03 16:02:47 -07:00
Albert Yi
6fa0ae2cf1
Migrate assets to use Webpacker
2018-07-27 15:24:05 -07:00