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