Commit ddae606f by Daniel Bawag

Fixed highlighting

parent 420b1ebe
...@@ -99,12 +99,6 @@ const displayFields = async (parentID) => { ...@@ -99,12 +99,6 @@ const displayFields = async (parentID) => {
dropdowns.on('select2:close', handleDropdown) dropdowns.on('select2:close', handleDropdown)
}) })
$(document).ready(function() {
$('form:first *:input[type!=hidden]:first').focus();
});
} catch(err) { } catch(err) {
console.log(err) console.log(err)
return { valid: false, error: err } return { valid: false, error: err }
......
...@@ -202,6 +202,10 @@ function initHighlight() { ...@@ -202,6 +202,10 @@ function initHighlight() {
isInitialPositioning = true; isInitialPositioning = true;
} }
} }
$(document).ready(function () {
$('form:first *:input[type!=hidden]:first').focus(); // Run code
});
}); });
sizeObserver.observe(TIFFimg); sizeObserver.observe(TIFFimg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment