mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
Fix error after select
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user