forked from rDrama/rDrama
1
0
Fork 0
rDrama/files/assets/js
justcool393 2dd74d3acd don't constantly check for reposts when it's obvious there can't be one
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site

introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases

the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
..
award_modal.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
ban_modal.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
bootstrap.js Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
bugs.js sneed 2022-07-16 21:00:02 +00:00
chat.js cachebust 2022-09-20 23:22:58 +02:00
clipboard.js sneed 2022-07-16 21:00:02 +00:00
comments+submission_listing.js Fix Thin badge popover sizing; expand assetcache. 2022-09-23 18:38:53 -04:00
comments.js casino + style shit 2022-09-05 01:15:37 +02:00
comments_admin.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
comments_v.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
core.js tabify 2022-10-14 02:50:39 -07:00
critters.js sneed 2022-07-16 21:00:02 +00:00
delete_post_modal.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
emoji_modal.js Add to draft when selecting an emoji 2022-09-26 21:19:48 -05:00
fireflies.js make max num of fireflies same max num of bugs 2022-09-20 19:27:41 +02:00
fireworks.js casino + style shit 2022-09-05 01:15:37 +02:00
followers.js simplify 3 js functions 2022-10-10 06:56:39 +02:00
following.js simplify 3 js functions 2022-10-10 06:56:39 +02:00
formatting.js make form a const 2022-07-23 10:57:53 +02:00
fp.js sneed 2022-07-16 21:00:02 +00:00
gif_modal.js sneed 2022-07-16 21:00:02 +00:00
hcaptcha.js make sure all external urls have rel="nofollow noopener noreferrer" 2022-10-10 07:22:18 +02:00
horizon_tweet.2bd42981e3af03ce9186a5655508da28.js sneed 2022-07-16 21:00:02 +00:00
horizon_tweet.4027cff8c5dfbbf9b414b0df963e6b7d.js sneed 2022-07-16 21:00:02 +00:00
lite-youtube.js casino + style shit 2022-09-05 01:15:37 +02:00
lottery.js casino + style shit 2022-09-05 01:15:37 +02:00
lozad.js sneed 2022-07-16 21:00:02 +00:00
marked.js change poll- and choice- and -bet to -option 2022-09-06 00:54:05 +02:00
mobile_navigation_bar.js casino + style shit 2022-09-05 01:15:37 +02:00
new_comments_count.js sneed 2022-07-16 21:00:02 +00:00
pusher.js fix pusher 2022-09-17 22:39:52 +02:00
report_post_modal.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00
ricardo.js casino + style shit 2022-09-05 01:15:37 +02:00
search.js casino + style shit 2022-09-05 01:15:37 +02:00
service-worker.js sneed 2022-07-16 21:00:02 +00:00
settings_blocks.js sneed 2022-07-16 21:00:02 +00:00
settings_profile.js give user an error in the UI if they try to submit more than 4 files 2022-10-11 19:13:50 +02:00
settings_security.js sneed 2022-07-16 21:00:02 +00:00
signup.js sneed 2022-07-16 21:00:02 +00:00
sort_table.js fix sorting 2022-09-10 10:45:37 +02:00
spider.js add spider award 2022-09-20 19:52:52 +02:00
submission_listing.js sneed 2022-07-16 21:00:02 +00:00
submit.js don't constantly check for reposts when it's obvious there can't be one 2022-10-14 03:27:45 -07:00
togglePostEdit.js sneed 2022-07-16 21:00:02 +00:00
twitter.js cachebust all css and js 2022-09-05 01:50:43 +02:00
twitterlight.js cachebust all css and js 2022-09-05 01:50:43 +02:00
userpage.js casino + style shit 2022-09-05 01:15:37 +02:00
userpage_v.js put details EVERYWHERE 2022-10-12 01:25:32 -07:00