diff --git a/rails/tw_content/plugins/thost_upload_plugin.js.erb b/rails/tw_content/plugins/thost_upload_plugin.js.erb index 65a41838..d9d3b519 100644 --- a/rails/tw_content/plugins/thost_upload_plugin.js.erb +++ b/rails/tw_content/plugins/thost_upload_plugin.js.erb @@ -200,10 +200,10 @@ if (config.shadowTiddlers.TiddlyHostIsLoggedIn == "yes") { // set it here to make sure TW is editable, unlike window.showBackstage // which is set after window.readOnly = false -} -// Add 'upload to tiddlyhost' button -config.shadowTiddlers.SideBarOptions = config.shadowTiddlers.SideBarOptions - .replace(/(<>)/,"$1<>"); + // Add the 'save to tiddlyhost' button after the regular save button + config.shadowTiddlers.SideBarOptions = config.shadowTiddlers.SideBarOptions + .replace(/(<>)/,"$1<>"); +} //}}}