From 1e94b4e29b3d4989eff8d5344bf3415b3fb44b94 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 14 Mar 2011 23:54:38 +0000 Subject: Refs #3016: Removes inline javascript from embed, file, groups, messages, profile, thewire git-svn-id: http://code.elgg.org/elgg/trunk@8711 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/js.php | 3 +++ mod/profile/views/default/profile/wrapper.php | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) create mode 100644 mod/profile/views/default/profile/js.php (limited to 'mod/profile/views') diff --git a/mod/profile/views/default/profile/js.php b/mod/profile/views/default/profile/js.php new file mode 100644 index 000000000..edf68543c --- /dev/null +++ b/mod/profile/views/default/profile/js.php @@ -0,0 +1,3 @@ +elgg.register_hook_handler('init', 'system', function() { + $('#elgg-widget-col-1').css('min-height', $('.profile').outerHeight(true) + 1); +}); \ No newline at end of file diff --git a/mod/profile/views/default/profile/wrapper.php b/mod/profile/views/default/profile/wrapper.php index 7bc0397f8..73b7934f2 100644 --- a/mod/profile/views/default/profile/wrapper.php +++ b/mod/profile/views/default/profile/wrapper.php @@ -9,10 +9,4 @@ - - - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3