I’m an idiot. I got it working.
$(".code_gen").focus(function(){
var el = this;
requestAnimationFrame(function() {
selectElementContents(el);
});
});
I’m an idiot. I got it working.
$(".code_gen").focus(function(){
var el = this;
requestAnimationFrame(function() {
selectElementContents(el);
});
});