summaryrefslogtreecommitdiff
path: root/modules_v3/individuals/module.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-06-16 21:57:04 +0000
committerfisharebest <fisharebest@gmail.com>2012-06-16 21:57:04 +0000
commit626f69d705ee67055cbb43a8483376d3878a56cc (patch)
tree4cf83776770fe3adf6d2939ca1275910e7c77f8a /modules_v3/individuals/module.php
parent5f659efe6919fa45701f84ed0038a137c88f0c63 (diff)
downloadwebtrees-626f69d705ee67055cbb43a8483376d3878a56cc.tar.gz
webtrees-626f69d705ee67055cbb43a8483376d3878a56cc.tar.bz2
webtrees-626f69d705ee67055cbb43a8483376d3878a56cc.zip
Defer loading of external javascript (and most inline javascript) to the bottom of the page. This improves responsiveness, as the page can be rendered before the scripts are parsed.
Diffstat (limited to 'modules_v3/individuals/module.php')
-rw-r--r--modules_v3/individuals/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php
index d72a316d80..58b45c855f 100644
--- a/modules_v3/individuals/module.php
+++ b/modules_v3/individuals/module.php
@@ -91,7 +91,7 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar {
// Fetch a list of the initial letters of all surnames in the database
$initials=WT_Query_Name::surnameAlpha(true, false, WT_GED_ID);
- $controller->addInlineJavaScript('
+ $controller->addInlineJavascript('
var loadedNames = new Array();
function isearchQ() {