mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Remove button switch
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8901 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1efce9b356
commit
eb3a555a62
1 changed files with 0 additions and 21 deletions
|
|
@ -52,27 +52,6 @@ jQuery(function($){
|
|||
.trigger('update.checkbox', [name, this.checked]);
|
||||
});
|
||||
|
||||
// Button switch
|
||||
$('button[name]')
|
||||
.click(function(){
|
||||
var $this = $(this), $radio;
|
||||
|
||||
$radio = $this.data('radio');
|
||||
if(!$radio) {
|
||||
$radio = $('<input type="radio" />').hide()
|
||||
.attr('name', $this.attr('name'))
|
||||
.attr('value', $this.attr('value'))
|
||||
.insertBefore($this);
|
||||
|
||||
$this
|
||||
.removeAttr('name')
|
||||
.removeAttr('value')
|
||||
.data('radio', $radio);
|
||||
}
|
||||
|
||||
$radio.prop('checked', true);
|
||||
});
|
||||
|
||||
// Global Navigation Bar
|
||||
var $menuitems = $('div.gnb')
|
||||
.removeClass('jx')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue