Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Rename window scroll #1390

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/js/display/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
* PopupFactory
* PopupMenu
* QueryParser
* ScrollElement
* TextScanner
* WindowScroll
* api
* dynamicLoader
*/
Expand Down Expand Up @@ -90,7 +90,7 @@ class Display extends EventDispatcher {
this._updateAdderButtonsPromise = Promise.resolve();
this._contentScrollElement = document.querySelector('#content-scroll');
this._contentScrollBodyElement = document.querySelector('#content-body');
this._windowScroll = new WindowScroll(this._contentScrollElement);
this._windowScroll = new ScrollElement(this._contentScrollElement);
this._closeButton = document.querySelector('#close-button');
this._navigationPreviousButton = document.querySelector('#navigate-previous-button');
this._navigationNextButton = document.querySelector('#navigate-next-button');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

class WindowScroll {
class ScrollElement {
constructor(node) {
this._node = node;
this._animationRequestId = null;
Expand Down
2 changes: 1 addition & 1 deletion ext/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h3>Default Profile</h3>
<script src="/js/media/media-loader.js"></script>
<script src="/js/dom/panel-element.js"></script>
<script src="/js/dom/popup-menu.js"></script>
<script src="/js/dom/window-scroll.js"></script>
<script src="/js/dom/scroll-element.js"></script>
<script src="/js/language/text-scanner.js"></script>
<script src="/js/dom/html-template-collection.js"></script>
<script src="/js/media/text-to-speech-audio.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion ext/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h1>Yomichan Search</h1>
<script src="/js/input/hotkey-util.js"></script>
<script src="/js/media/media-loader.js"></script>
<script src="/js/dom/popup-menu.js"></script>
<script src="/js/dom/window-scroll.js"></script>
<script src="/js/dom/scroll-element.js"></script>
<script src="/js/language/text-scanner.js"></script>
<script src="/js/dom/html-template-collection.js"></script>
<script src="/js/media/text-to-speech-audio.js"></script>
Expand Down