mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-24 12:17:39 +00:00
Rename "tw-*" messages to "tm-*"
This commit is contained in:
@@ -62,13 +62,13 @@ function SaverHandler(options) {
|
||||
}
|
||||
// Install the save action handlers
|
||||
if($tw.browser) {
|
||||
$tw.rootWidget.addEventListener("tw-save-wiki",function(event) {
|
||||
$tw.rootWidget.addEventListener("tm-save-wiki",function(event) {
|
||||
self.saveWiki({
|
||||
template: event.param,
|
||||
downloadType: "text/plain"
|
||||
});
|
||||
});
|
||||
$tw.rootWidget.addEventListener("tw-download-file",function(event) {
|
||||
$tw.rootWidget.addEventListener("tm-download-file",function(event) {
|
||||
self.saveWiki({
|
||||
method: "download",
|
||||
template: event.param,
|
||||
|
||||
Reference in New Issue
Block a user