mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor polishing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6ff5d17c7b
commit
cab455a463
@ -125,7 +125,9 @@ function skipFiles(e, v){
|
||||
function make(title){
|
||||
var browser = $('<div>')
|
||||
.addClass('browse')
|
||||
// make thie widget focusable...
|
||||
.attr('tabindex', -1)
|
||||
// focus the widget if something inside is clicked...
|
||||
.click(function(){
|
||||
$(this).focus()
|
||||
})
|
||||
@ -367,7 +369,11 @@ $(function(){
|
||||
.append(browser)
|
||||
showPath(browser, '/', TREE)
|
||||
|
||||
$('.container').draggable()
|
||||
$('.container').draggable({
|
||||
cancel: ".path .dir, .list div"
|
||||
})
|
||||
|
||||
browser.focus()
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user