Commit b8bdcf52 authored by kempe's avatar kempe

Bugfix in Storage.js

parent cbdecba9
......@@ -96,6 +96,8 @@ function deleteStation(station) {
function stationExists(station) {
var results;
console.log("stationExists?", station)
if (!station) { return false }
openDB();
db.transaction(function(tx) {
results = tx.executeSql("SELECT * FROM stations WHERE url=?", [station.url]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment