1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00

DropDown Menu for Mobile Devices - fixes

This commit is contained in:
Awilum
2013-02-28 20:21:57 +02:00
parent 664e29b6dc
commit 00abeaba1b

View File

@@ -19,7 +19,8 @@
function confirmDelete(msg){var data=confirm(msg+" ?"); return data;}
$(document).ready(function() {
$('#sections option').click(function() {
window.location = $(this).attr('rel');
/* DropDown Menu for Mobile Devices */
$("#sections").change(function(){
window.location = $('#sections option:selected').attr('rel');
});
});