Skip to content
This repository was archived by the owner on Mar 29, 2018. It is now read-only.

Commit ba29ab1

Browse files
author
Daniel Cormier
committed
Fixed jquery selector for "add to cart" button.
Version bump.
1 parent b30e58a commit ba29ab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iwantnexus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$(function() {
22
var device_url = window.location.href;
33
var device_title = document.title;
4-
var add_to_cart = $('#body-content > div.details-wrapper.devices.id-track-partial-impression.vs-enabled > div.details-info-wrapper > div > div.info-container > div.details-actions > span.buy-button-container > button');
4+
var add_to_cart = $('button.buy');
55

66
if (add_to_cart.is(':enabled')) {
77
add_to_cart.click();

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "I want nexus",
33
"description": "I want nexus",
4-
"version": "0.0.9",
4+
"version": "0.0.10",
55
"content_scripts": [
66
{
77
"matches": [

0 commit comments

Comments
 (0)