diff --git a/js/popup.js b/js/popup.js index b94a6df..4b228e9 100644 --- a/js/popup.js +++ b/js/popup.js @@ -59,8 +59,4 @@ function triggerView() { $('#ipLocationInfo').html(infosHtml); } -$(document).ready( - function () { - fetchGeoLocation(); - } -); \ No newline at end of file +$(window).on("load", fetchGeoLocation); \ No newline at end of file