Change return false; to return;, since we don't wan't to completely break the loop
authorVlad Chernushevich <mailbox@happytodesign.com>
Sun, 16 Jun 2013 18:09:19 +0000 (20:09 +0200)
committerVlad Chernushevich <mailbox@happytodesign.com>
Sun, 16 Jun 2013 18:09:19 +0000 (20:09 +0200)
client/assets/src/applets/settings.js

index cc53ad6a1f24c2cf6b50803b38f1d16d1e971f52..978a18e4554c9cc7909db8873febcafd7f38c50b 100644 (file)
@@ -28,7 +28,7 @@
 \r
                 // Only deal with settings we have a UI element for\r
                 if (!$el.length)\r
-                    return false;\r
+                    return;\r
 \r
                 switch ($el.prop('type')) {\r
                     case 'checkbox':\r