Commit a15cb529 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Fix JS bug

parent 36ac40f0
Loading
Loading
Loading
Loading
+3 −1
Changes for www/local-notification.js: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -634,7 +634,9 @@ exports.convertIds = function (ids) {
exports.getValueFor = function (options) {
    var keys = Array.apply(null, arguments).slice(1);

    for (var key in keys) {
    for (var i = 0; i < keys.length; i++) {
        var key = keys[i];

        if (options.hasOwnProperty(key)) {
            return options[key];
        }