[geeklog-hg] geeklog: Fix for changeset cb73971db89e
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Aug 12 23:03:46 EDT 2013
changeset 9250:425249263f96
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/425249263f96
user: dengen <taharaxp at gmail.com>
date: Tue Aug 13 12:02:45 2013 +0900
description:
Fix for changeset cb73971db89e
diffstat:
public_html/javascript/advanced_editor.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r cb73971db89e -r 425249263f96 public_html/javascript/advanced_editor.js
--- a/public_html/javascript/advanced_editor.js Tue Aug 13 10:59:30 2013 +0900
+++ b/public_html/javascript/advanced_editor.js Tue Aug 13 12:02:45 2013 +0900
@@ -39,7 +39,7 @@
AdvancedEditor.ValModeAdvanced = 'adveditor';
-AdvancedEditor.ValAutoToolbar = true;
+AdvancedEditor.AutoToolbar = true;
AdvancedEditor.api = [];
@@ -58,12 +58,15 @@
if (options.ValModeAdvanced) {
this.ValModeAdvanced = options.ValModeAdvanced;
}
+ if (options.AutoToolbar === false) {
+ this.AutoToolbar = false;
+ }
var bar = 1;
if (options.toolbar !== false) {
bar = options.toolbar;
}
- if (this.ValAutoToolbar === true &&
+ if (this.AutoToolbar === true &&
navigator.userAgent.match(/iPhone|Android|IEMobile/i)) {
bar = 0;
}
More information about the geeklog-cvs
mailing list