From afdc61b2f164eb9ee9d2f2665c51bd7a13f23055 Sat, 9 Mar 2013 12:54:38 +0100 From: hass Date: Sat, 9 Mar 2013 12:54:00 +0100 Subject: [PATCH] Issue #1937724 by hass: Automatically configure jquery_update with jQuery 1.7 or higher diff --git a/navbar.install b/navbar.install index bc2c77d..7cad674 100644 --- a/navbar.install +++ b/navbar.install @@ -21,6 +21,12 @@ $breakpoint->weight = 0; $breakpoint->multipliers = array(); breakpoints_breakpoint_save($breakpoint); + + // Navbar module requires jQuery 1.7 or higher. + $jquery_version = variable_get('jquery_update_jquery_version', '1.5'); + if (version_compare($jquery_version, '1.7', '>=')) { + variable_set('jquery_update_jquery_version', $jquery_version); + } } /**