Remove debug message and fix comment
authorMatthias Schmidt <gravatronics@live.com>
Sat, 13 Jan 2018 09:53:32 +0000 (10:53 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 13 Jan 2018 09:53:32 +0000 (10:53 +0100)
See #2509

wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js

index 63dae62d0282b9ffd5a7790e4bca06136ecda087..c0a31168d126461b742872c90aa1a638a1c2a510 100644 (file)
@@ -26,9 +26,8 @@ define(['./Abstract', 'Core'], function(Abstract, Core) {
                                throw new Error("Values have not been set.");
                        }
                        
-                       // do not use `Array.prototype.indexOf()` as use a weak comparision
+                       // do not use `Array.prototype.indexOf()` as we use a weak comparision
                        for (var i = 0, length = this._values.length; i < length; i++) {
-                               console.log(this._values[i], this._field.value);
                                if (this._values[i] == this._field.value) {
                                        return true;
                                }