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) {
|
if (qs) {
|
||||||
$('#ua-txt-info').text('For a given user-agent:');
|
$('#ua-txt-info').text('For a given user-agent:');
|
||||||
UAParser(qs).then(function(result) {
|
|
||||||
updateDemo(result);
|
|
||||||
});
|
|
||||||
$('#ua-txt').get(0).scrollIntoView();
|
$('#ua-txt').get(0).scrollIntoView();
|
||||||
|
updateDemo(UAParser(qs));
|
||||||
} else {
|
} else {
|
||||||
UAParser().withClientHints().then(function(result) {
|
UAParser().withClientHints().then(function(result) {
|
||||||
updateDemo(result);
|
updateDemo(result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user