git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55faac
)
keys: load javascript asynchronously
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 18 Jun 2017 07:55:57 +0000
(09:55 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 17 Jul 2017 15:13:43 +0000
(17:13 +0200)
Display page while loading dynamic parts.
common.inc.plp
patch
|
blob
|
history
diff --git
a/common.inc.plp
b/common.inc.plp
index 8fc60ef27f6710f3720a3d52ca4c2e24b5ebc594..3c92817226d8472631e81e277380c8c1b50fa4b3 100644
(file)
--- a/
common.inc.plp
+++ b/
common.inc.plp
@@
-127,7
+127,7
@@
sub Html {
'<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]-->',
!$showkeys ? '<style> .no {visibility:hidden} </style>' :
$showkeys eq 'ghost' ? '<style> .no, .alias {opacity:.5} </style>' : (),
- '<script type="text/javascript" src="/keys.js?1.6"></script>',
+ '<script type="text/javascript" src="/keys.js?1.6"
async
></script>',
) if $meta->{keys};
# leading output