76 Commits

Author SHA1 Message Date
ccd0
501a103a1d Make movement of image hover / quote preview with mouse optional; option is Follow Cursor. #471, #2245 2019-03-24 07:16:56 -07:00
ccd0
996a183abe Revert "Prevent quote preview from going offscreen in cases of limited screen width."
Caused some quote previews to use more width than needed.
This reverts commit 4122bce3084f8fc25b5f0dc2e42f999f7d9430a5.
2019-03-23 13:05:34 -07:00
ccd0
4122bce308 Prevent quote preview from going offscreen in cases of limited screen width. 2019-03-22 07:27:10 -07:00
ccd0
fafdc4fa44 Allow image hover previews to use full width of screen. 2019-03-17 05:42:50 -07:00
ccd0
b3cc978ae9 Move menu outside menu button to reduce CSS side effects. 2018-01-24 05:02:36 -08:00
ccd0
eb7c48af0c Move dialog positions into Config. 2016-11-05 18:15:32 -07:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
de0d779029 Set style properties to empty string to clear them, not null. #544 2016-09-10 21:06:25 -07:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
9c1bf5bfdf Change $$.coffee and UI.coffee to more standard form. 2016-06-12 00:11:29 -07:00
ccd0
0aadc302a7 Add a data-type attribute to menus to indicate what type (post, header, thread watcher, gallery) they are. 2016-05-10 17:14:07 -07:00
ccd0
bc86f21c24 Make menu reposition on scroll instead of closing. 2016-04-20 09:52:51 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
77142c23db Don't let link URL preview cover quote preview. 2015-12-12 15:24:28 -08:00
ccd0
b07c215d62 Get rid of $.asap in UI.hover. 2015-12-12 14:50:47 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
d74c3cacf9 Can't rely on menu item textContent to be populated at this point. 2015-08-16 03:47:45 -07:00
ccd0
73af23bcfb One broken menu item shouldn't kill the whole menu. 2015-08-15 23:11:47 -07:00
ccd0
0fdef3fcfa Remove unnecessary build type test. 2015-07-04 01:10:11 -07:00
ccd0
955f34d831 Gallery menu shouldn't close on scroll. 2015-03-02 02:05:53 -08:00
ccd0
84dc51e2cf Close old menu properly when a different type of menu is opened. 2015-02-07 11:16:32 -08:00
ccd0
f2a498a5dd Merge from Appchan X: src/General/UI.coffee
(The UI.checkbox changes were merged in previous commit e1b63d4a9965aaa5d63e15fd84788921a53def72.)
2015-02-05 22:21:35 -08:00
ccd0
343c044761 Follow Zixaphir in adding space to label in UI.checkbox.
Change settings checkbox (where space was unwanted) to HTML template.
2015-02-02 22:59:06 -08:00
ccd0
94928b7c83 Merge from Appchan X: Whitespace and other changes not affecting compiled script. 2015-01-30 01:22:40 -08:00
ccd0
259d28385e Improve comment. 2014-12-26 16:42:47 -08:00
ccd0
d7777859c8 Remove dead links to Mayhem repo. 2014-12-21 18:42:52 -08:00
ccd0
62a242e100 compute height in Javascript to avoid hovered image jumping 2014-09-25 22:25:29 -07:00
ccd0
41b72706f6 Revert "Well, that would explain the image preview jumping."
This reverts commit 5e1b8a8f7c05b5788fb66aa8a64986043c0c630f.
2014-09-18 15:06:54 -07:00
ccd0
34abd80267 tweak image hover vertical position 2014-09-16 18:23:53 -07:00
ccd0
5e1b8a8f7c Well, that would explain the image preview jumping. 2014-09-16 17:47:24 -07:00
ccd0
26d6c8b6bf hover placement: only use the halfway threshold for images 2014-09-16 17:27:46 -07:00
Mayhem
8a68ffad08 Close #1449. 2014-09-13 17:39:54 -07:00
ccd0
bf6f9b4429 Revert "Position dialogs relative to closest edge of screen."
This reverts commit 7d6566b4cbca1ca730ced0288dece3ce0071ef67.
2014-09-01 11:06:03 -07:00
ccd0
7d6566b4cb Position dialogs relative to closest edge of screen.
This fixes a bug where the expansion of a QR dialog upon captcha
loading would push the response field off the bottom of the screen.
2014-08-31 20:35:10 -07:00
ccd0
51ac18ea3c move menu element back into button for ExLinks compatibility 2014-08-23 09:21:54 -07:00
ccd0
200c9d8533 more cleanup 2014-06-19 15:20:07 -07:00
ccd0
fef0089749 Menu.rmEntry no longer needed 2014-06-18 22:40:23 -07:00
ccd0
cdb83f744a cleanup menu code 2014-06-18 22:39:19 -07:00
ccd0
c4c2f59161 remove callback from AddMenuEntry 2014-06-18 13:04:50 -07:00
ccd0
94d44bf7ba clean up menu code, remove rmMenuEntry event 2014-06-18 04:09:02 -07:00
ccd0
efc852464f don't use event for adding to menu internally 2014-06-17 21:12:07 -07:00
ccd0
1189b71029 this seems to be a common pattern 2014-05-14 14:16:16 -07:00
ccd0
f3026041b4 slight change to UI.dialog to make searching for vulnerabilities easier 2014-05-13 17:19:09 -07:00
ccd0
0f770459c0 get new hover working in catalog
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/UI.coffee
	src/Images/ImageHover.coffee
2014-04-06 16:06:11 -07:00
ccd0
26576b4420 video hover 2014-04-04 15:09:56 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00
Mayhem
0fdf5c89bb mouseenter did not work as I expected, reverting to mouseover. 2014-01-21 15:37:28 +01:00
Mayhem
878b6afe5a Use mouseenter instead of mouseover for menu entries. 2014-01-21 14:22:58 +01:00
Zixaphir
798ab20f35 ThreadUpdater.disconnect() 2014-01-07 16:30:18 -07:00
Zixaphir
6dd2e60e9a Element.contains was not Array.contains, lol 2013-12-25 10:10:51 -07:00