diff --git a/modules/JQuery.php b/modules/JQuery.php index b019df3..21b7c34 100644 --- a/modules/JQuery.php +++ b/modules/JQuery.php @@ -5,8 +5,8 @@ class JQuery extends PatchBase { parent::__construct('jQuery Foundation', 'jQuery', 'https://jquery.com/download/'); } function check() : bool { - if ($this->fetch_json('https://api.github.com/repos/jquery/jquery/tags')) - return $this->parse_json('name'); + if ($this->fetch_json('https://api.github.com/repos/jquery/jquery/releases/latest')) + return $this->parse_json('tag_name'); return false; } }