1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-31 07:32:59 +00:00

Rename "tw-*" messages to "tm-*"

This commit is contained in:
Jermolene
2014-08-28 21:43:44 +01:00
parent db40ac85c2
commit 2f69ea362c
106 changed files with 211 additions and 211 deletions

View File

@@ -13,7 +13,7 @@ Module that creates a $tw.utils.Scroller object prototype that manages scrolling
"use strict";
/*
Event handler for when the `tw-scroll` event hits the document body
Event handler for when the `tm-scroll` event hits the document body
*/
var PageScroller = function() {
this.idRequestFrame = null;
@@ -44,7 +44,7 @@ PageScroller.prototype.cancelScroll = function() {
Handle an event
*/
PageScroller.prototype.handleEvent = function(event) {
if(event.type === "tw-scroll") {
if(event.type === "tm-scroll") {
return this.scrollIntoView(event.target);
}
return true;