mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
replace andSelf()
This commit is contained in:
parent
a7d666d8c4
commit
e36636dd94
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ function previewFiles(event, file_srl) {
|
||||||
var $opt, $select, $preview, fileinfo, filename, match, html, $=jQuery;
|
var $opt, $select, $preview, fileinfo, filename, match, html, $=jQuery;
|
||||||
|
|
||||||
if(!file_srl) {
|
if(!file_srl) {
|
||||||
$opt = $(event.target).parent().andSelf().filter('select').find('>option:selected');
|
$opt = $(event.target).parent().addBack().filter('select').find('>option:selected');
|
||||||
if(!$opt.length) return;
|
if(!$opt.length) return;
|
||||||
|
|
||||||
file_srl = $opt.attr('value');
|
file_srl = $opt.attr('value');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue