Fix undefined check
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Gesamtkosten Handyflash
|
// @name Gesamtkosten Handyflash
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @version 0.4
|
// @version 0.5
|
||||||
// @description Berechnet die Gesamtkosten der Verträge auf handyflash.de
|
// @description Berechnet die Gesamtkosten der Verträge auf handyflash.de
|
||||||
// @author Jan Bader <jan@javil.eu>
|
// @author Jan Bader <jan@javil.eu>
|
||||||
// @match http*://www.handyflash.de/handys/*
|
// @match http*://www.handyflash.de/handys/*
|
||||||
@ -17,7 +17,7 @@
|
|||||||
function actionFunction() {
|
function actionFunction() {
|
||||||
jQuery("article.rate").each(
|
jQuery("article.rate").each(
|
||||||
function(i, tarif) {
|
function(i, tarif) {
|
||||||
if(jQuery(tarif).data("gesamt") !== "undefined")
|
if(jQuery(tarif).data('gesamt') !== undefined)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var grundgebuehr_text = jQuery(tarif).find(".tariff_price").text();
|
var grundgebuehr_text = jQuery(tarif).find(".tariff_price").text();
|
||||||
|
Reference in New Issue
Block a user