Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gamer2810 authored May 28, 2024
1 parent f448c8f commit dee61ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
let searchParams = new URLSearchParams(window.location.search);
let corsHost = "https://steam-miniprofile-cors.glitch.me/"
let steamId = searchParams.get('accountId') ? searchParams.get('accountId') : '238158335';
let interactive = searchParams.get('interactive') ? searchParams.get('lang') : false;
let interactive = searchParams.get('interactive') ? searchParams.get('interactive') : false;
let vanityId = searchParams.get('vanity') ? searchParams.get('vanityId') : '';
// For list of available languages, check out README on https://github.com/gamer2810/steam-miniprofile
let language = searchParams.get('lang') ? searchParams.get('lang') : 'english';
Expand All @@ -41,7 +41,7 @@
}

if(interactive && vanityId != null) {
$('#includedContent').on('click', function(e){
$('.miniprofile_container').on('click', function(e){
e.preventDefault();
var url = $(this).attr('href');
window.open(steamURL, '_blank');
Expand Down

0 comments on commit dee61ac

Please sign in to comment.