1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-13 13:57:25 +00:00

style(App) eliminate whitespace at the end of code lines (#5735)

This commit is contained in:
Joe Bordes
2021-05-30 20:20:17 +02:00
committed by GitHub
parent 51fd02d9b6
commit 82ec63e711
73 changed files with 134 additions and 136 deletions

View File

@@ -41,7 +41,7 @@ ScrollableWidget.prototype.handleScrollEvent = function(event) {
if(event.paramObject && event.paramObject.selector) {
this.scrollSelectorIntoView(null,event.paramObject.selector);
} else {
this.scrollIntoView(event.target);
this.scrollIntoView(event.target);
}
return false; // Handled event
};
@@ -97,7 +97,7 @@ ScrollableWidget.prototype.scrollIntoView = function(element) {
if(duration <= 0) {
t = 1;
} else {
t = ((Date.now()) - self.startTime) / duration;
t = ((Date.now()) - self.startTime) / duration;
}
if(t >= 1) {
self.cancelScroll();
@@ -118,7 +118,7 @@ ScrollableWidget.prototype.scrollSelectorIntoView = function(baseElement,selecto
baseElement = baseElement || document.body;
var element = baseElement.querySelector(selector);
if(element) {
this.scrollIntoView(element,callback);
this.scrollIntoView(element,callback);
}
};