From 6c4e75b19ddadaadac9bc78423a837045fa90b15 Mon Sep 17 00:00:00 2001 From: Paweł Sroka Date: Mon, 26 Nov 2012 21:16:04 +0100 Subject: Fixes #4927 - Removes obsolete commas in JS code for IE7 compatibility --- views/default/js/walled_garden.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/js') diff --git a/views/default/js/walled_garden.php b/views/default/js/walled_garden.php index 13ec83c04..99d050505 100644 --- a/views/default/js/walled_garden.php +++ b/views/default/js/walled_garden.php @@ -47,10 +47,10 @@ elgg.walled_garden.load = function(view) { $(id).find('input.elgg-button-submit').after(''); $('#elgg-walledgarden-login').fadeToggle(); $(id).fadeToggle(); - }, + } }); event.preventDefault(); - }; + }; }; elgg.register_hook_handler('init', 'system', elgg.walled_garden.init); \ No newline at end of file -- cgit v1.2.3 From 1965e4d3642e3e8bcf53c83a85aa79765541a50e Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Mon, 26 Nov 2012 16:28:07 -0500 Subject: JS views: enable syntax highlighting and add missing semicolons --- views/default/js/admin.php | 11 ++++++----- views/default/js/elgg.php | 1 + views/default/js/initialize_elgg.php | 1 + views/default/js/lightbox.php | 1 + views/default/js/walled_garden.php | 1 + 5 files changed, 10 insertions(+), 5 deletions(-) (limited to 'views/default/js') diff --git a/views/default/js/admin.php b/views/default/js/admin.php index 5cefba512..e8aa0d2ed 100644 --- a/views/default/js/admin.php +++ b/views/default/js/admin.php @@ -4,8 +4,9 @@ * * @since 1.8 */ + +if (0) { ?>