https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c030b
)
No schemestring update if focus
author
Jeroen De Meerleer
<me@jeroened.be>
Fri, 22 Feb 2019 15:44:12 +0000
(16:44 +0100)
committer
Jeroen De Meerleer
<me@jeroened.be>
Fri, 22 Feb 2019 15:44:12 +0000
(16:44 +0100)
view/theme/frio/templates/theme_settings.tpl
patch
|
blob
|
history
diff --git
a/view/theme/frio/templates/theme_settings.tpl
b/view/theme/frio/templates/theme_settings.tpl
index
656d8de
..
1c870c9
100644
(file)
--- a/
view/theme/frio/templates/theme_settings.tpl
+++ b/
view/theme/frio/templates/theme_settings.tpl
@@
-87,9
+87,10
@@
if ($("#id_frio_login_bg_color").length) {
theme.login_bg_color = $("#id_frio_login_bg_color").val();
}
-
- var share_string = JSON.stringify(theme);
- $("#id_frio_share_string").val(share_string);
+ if (!($("#id_frio_share_string").is(":focus"))){
+ var share_string = JSON.stringify(theme);
+ $("#id_frio_share_string").val(share_string);
+ }
}
// interval because jquery.val does not trigger events