Let the focusing function run after the pictures have been added to the
grid.
This commit is contained in:
parent
6357d8da59
commit
d2473ac2af
2 changed files with 15 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,3 +8,4 @@ cache.properties
|
|||
/.springBeans
|
||||
/bin
|
||||
/target
|
||||
/.externalToolBuilders
|
||||
|
|
|
|||
|
|
@ -182,8 +182,6 @@ $D(function() {
|
|||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
var selectedImg = window.location.search;
|
||||
var selectedPos = undefined;
|
||||
if (/^\?focus=/.test(selectedImg)) {
|
||||
|
|
@ -196,9 +194,11 @@ $D(function() {
|
|||
}
|
||||
|
||||
if (selectedPos !== undefined) {
|
||||
$D(gallery[selectedPos]).trigger('click');
|
||||
$D("#ent" + selectedPos).trigger('click');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue