mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
BUG #29 Cleaned up whitespace that caused some browsers to not render JS
This commit is contained in:
parent
84c1215f91
commit
aaf8d0f8b7
@ -1,8 +1,7 @@
|
||||
jQuery.noConflict();
|
||||
|
||||
(function($) {
|
||||
$(document).ready(function() {
|
||||
|
||||
(function($) {
|
||||
$(document).ready(function() {
|
||||
/* removes text from search form on focus and replaces it on unfocus - if text is entered then it does not get replaced with default on unfocus */
|
||||
$('#SearchForm_SearchForm_action_results').val('L');
|
||||
var searchField = $('#SearchForm_SearchForm_Search');
|
||||
@ -20,7 +19,6 @@ jQuery.noConflict();
|
||||
});
|
||||
|
||||
if (!$.browser.msie || ($.browser.msie && (parseInt($.browser.version, 10) > 8))) {
|
||||
|
||||
var searchBarButton = $("span.search-dropdown-icon");
|
||||
var searchBar = $('div.search-bar');
|
||||
var menuButton = $("span.nav-open-button");
|
||||
@ -84,8 +82,6 @@ jQuery.noConflict();
|
||||
searchBar.slideUp();
|
||||
menu.slideToggle(200);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
}(jQuery));
|
||||
|
Loading…
Reference in New Issue
Block a user