Fix undefined check

This commit is contained in:
Jan Bader 2016-05-14 14:28:20 +02:00
parent 36d3eae87d
commit e1cc24a8fb

View File

@ -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();