diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-05-13 18:50:04 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-05-13 18:50:04 -0400 |
commit | 39c042f4ea33abd77d6431c531b6eae72f2d7994 (patch) | |
tree | 91cef4041bbdfbc1fe08ffb08c52661d70c59f94 /view/theme/diabook/bottom.tpl | |
parent | f267a283b46edaf389e99ef3ea4341a5a0496aab (diff) | |
parent | 303856ce01983feec95539892a908b5d5a88f866 (diff) | |
download | volse-hubzilla-39c042f4ea33abd77d6431c531b6eae72f2d7994.tar.gz volse-hubzilla-39c042f4ea33abd77d6431c531b6eae72f2d7994.tar.bz2 volse-hubzilla-39c042f4ea33abd77d6431c531b6eae72f2d7994.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
diabook-theme: small fixes
rename get_language() to get_browser_language()
slackr drop shadows
language detection library
rev update
* master:
Diffstat (limited to 'view/theme/diabook/bottom.tpl')
-rw-r--r-- | view/theme/diabook/bottom.tpl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/view/theme/diabook/bottom.tpl b/view/theme/diabook/bottom.tpl index 0f8e61d97..50a15788d 100644 --- a/view/theme/diabook/bottom.tpl +++ b/view/theme/diabook/bottom.tpl @@ -16,8 +16,13 @@ $(document).ready(function() { }); $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;"); - $(".autocomplete").attr("style", "width: 350px;color: black;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); - + $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>"); + $(document).keydown(function(event) { + if (!$("div#pause").html()){ + $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>"); + }}); + $(".autocomplete").attr("style", "width: 350px;color: black;border: 1px solid #D2D2D2;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;"); + }); $(document).ready(function(){ @@ -123,4 +128,6 @@ $(document).ready(function() { function cmtBbClose(id) { $(".comment-edit-bb-" + id).hide(); } + + </script> |