mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 19:00: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){
|
function make(title){
|
||||||
var browser = $('<div>')
|
var browser = $('<div>')
|
||||||
.addClass('browse')
|
.addClass('browse')
|
||||||
|
// make thie widget focusable...
|
||||||
.attr('tabindex', -1)
|
.attr('tabindex', -1)
|
||||||
|
// focus the widget if something inside is clicked...
|
||||||
.click(function(){
|
.click(function(){
|
||||||
$(this).focus()
|
$(this).focus()
|
||||||
})
|
})
|
||||||
@ -367,7 +369,11 @@ $(function(){
|
|||||||
.append(browser)
|
.append(browser)
|
||||||
showPath(browser, '/', TREE)
|
showPath(browser, '/', TREE)
|
||||||
|
|
||||||
$('.container').draggable()
|
$('.container').draggable({
|
||||||
|
cancel: ".path .dir, .list div"
|
||||||
|
})
|
||||||
|
|
||||||
|
browser.focus()
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user