mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
mobiledragdrop: attempt to fix scrolling issues on ios
See https://github.com/timruffles/ios-html5-drag-drop-shim/issues/77
This commit is contained in:
parent
0efed8335d
commit
0493208a23
25
plugins/tiddlywiki/mobiledragdrop/startup.js
Normal file
25
plugins/tiddlywiki/mobiledragdrop/startup.js
Normal file
@ -0,0 +1,25 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/mobiledragdrop/startup.js
|
||||
type: application/javascript
|
||||
module-type: startup
|
||||
|
||||
Startup initialisation
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
// Export name and synchronous status
|
||||
exports.name = "mobiledragdrop";
|
||||
exports.platforms = ["browser"];
|
||||
exports.after = ["startup"];
|
||||
exports.synchronous = true;
|
||||
|
||||
exports.startup = function() {
|
||||
window.addEventListener("touchmove", function() {});
|
||||
};
|
||||
|
||||
})();
|
Loading…
Reference in New Issue
Block a user