mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 11:47:51 +02:00
DropDown Menu for Mobile Devices - fixes
This commit is contained in:
@@ -19,7 +19,8 @@
|
|||||||
function confirmDelete(msg){var data=confirm(msg+" ?"); return data;}
|
function confirmDelete(msg){var data=confirm(msg+" ?"); return data;}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#sections option').click(function() {
|
/* DropDown Menu for Mobile Devices */
|
||||||
window.location = $(this).attr('rel');
|
$("#sections").change(function(){
|
||||||
|
window.location = $('#sections option:selected').attr('rel');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user