From 4b457005929e465f0a43078b349f8aedcd60f077 Mon Sep 17 00:00:00 2001
From: Matthew Juhl <mjuhl24@gmail.com>
Date: Tue, 4 May 2010 16:49:05 +0000
Subject: [PATCH] Use WDN.jQuery if no $

---
 plugins/unl_theme/scripts/JS/enhanceProfileForm.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
index a3e5e23d..b10e7ead 100644
--- a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
+++ b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
@@ -1,6 +1,9 @@
-
 <script type="text/javascript">
 (function(){
+
+	if (!$) {
+		var $ = WDN.jQuery;
+	}
 	
 	function updateL () {
 		var city = $("input[name=form_data_profile_city]").val(), state = $("select[name=form_data_profile_state]").val(), country = $("select[name=form_data_profile_country]").val();
-- 
GitLab