Skip to content

Commit

Permalink
Use WDN.loadJQuery for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ericras committed Oct 31, 2013
1 parent a98b010 commit 7ccba3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function unl_wdn_username_alter(&$name, $account) {
function unl_wdn_preprocess_page(&$vars, $hook) {

$loginUrl = url('user', array('query' => drupal_get_destination()));
$script = 'WDN.jQuery(function() {' . PHP_EOL
$script = 'WDN.loadJQuery(function() {' . PHP_EOL
. ' WDN.idm.setLoginURL("' . $loginUrl . '");' . PHP_EOL
. ' WDN.idm.setLogoutURL("user/logout");' . PHP_EOL
. '});'
Expand Down

0 comments on commit 7ccba3c

Please sign in to comment.