1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-06 09:29:28 +01:00
phorge-phorge/webroot/rsrc/js/core
epriestley eaa883cf37 Fix anchor-clicking scroll positions
Summary:
Fixes T7069. When jumping to a comment anchor, we get the scroll positions wrong.

Partly this is fixing some calcaulations; partly, the "show older comments" and "scroll anchor" stuff were fighting over the scroll position. Since the anchor can take care of things on its own, just let it handle stuff.

Test Plan:
  - Clicked comment anchors.
  - Loaded pages with anchors in the URI.
  - Loaded pages with anchors hidden behind "show older comments".

In all cases, got the right scroll position.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7069

Differential Revision: https://secure.phabricator.com/D11540
2015-01-28 08:26:10 -08:00
..
behavior-active-nav.js
behavior-audio-source.js
behavior-autofocus.js
behavior-choose-control.js
behavior-crop.js
behavior-dark-console.js Define function before use 2015-01-03 10:31:44 +11:00
behavior-device.js
behavior-drag-and-drop-textarea.js
behavior-error-log.js Let JSHint know that the show_details function is an exported global 2014-12-30 02:51:36 -08:00
behavior-fancy-datepicker.js
behavior-file-tree.js
behavior-form.js
behavior-gesture.js
behavior-global-drag-and-drop.js
behavior-high-security-warning.js
behavior-history-install.js
behavior-hovercard.js
behavior-keyboard-pager.js
behavior-keyboard-shortcuts.js
behavior-konami.js
behavior-lightbox-attachments.js Catch undefinied title attribute in lightbox 2014-12-23 09:28:57 -08:00
behavior-line-linker.js Minor JavaScript fix 2014-12-30 02:50:32 -08:00
behavior-more.js
behavior-object-selector.js Include object url in object selector selection 2014-11-03 08:20:15 -08:00
behavior-oncopy.js
behavior-phabricator-nav.js
behavior-phabricator-remarkup-assist.js
behavior-refresh-csrf.js
behavior-remarkup-preview.js
behavior-reorder-applications.js
behavior-reveal-content.js
behavior-scrollbar.js Make scrolling happen relative to the main content frame 2015-01-25 08:42:40 -08:00
behavior-search-typeahead.js Search Typeahead - make exact matches show up first 2014-11-17 15:32:37 -08:00
behavior-select-on-click.js
behavior-toggle-class.js
behavior-tokenizer.js
behavior-tooltip.js
behavior-watch-anchor.js Fix anchor-clicking scroll positions 2015-01-28 08:26:10 -08:00
behavior-workflow.js
Busy.js
DragAndDropFileUpload.js
DraggableList.js
FileUpload.js
Hovercard.js
KeyboardShortcut.js
KeyboardShortcutManager.js Make scrolling happen relative to the main content frame 2015-01-25 08:42:40 -08:00
MultirowRowManager.js Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
Notification.js
phtize.js
Prefab.js Tokenizers - improve algorithm around exact matches. 2015-01-09 14:53:56 -08:00
ShapedRequest.js
TextAreaUtils.js
Title.js Show a count (like "(3)") in the page title corresponding to unread notifications/messages 2014-09-10 10:17:49 -07:00
ToolTip.js Use single quotes in JavaScript files 2015-01-20 08:53:47 +11:00