mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Fix error after select
This commit is contained in:
parent
1461a255ea
commit
5897adefd7
@ -108,10 +108,8 @@ $(document)
|
||||
}
|
||||
if (qs) {
|
||||
$('#ua-txt-info').text('For a given user-agent:');
|
||||
UAParser(qs).then(function(result) {
|
||||
updateDemo(result);
|
||||
});
|
||||
$('#ua-txt').get(0).scrollIntoView();
|
||||
updateDemo(UAParser(qs));
|
||||
} else {
|
||||
UAParser().withClientHints().then(function(result) {
|
||||
updateDemo(result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user