Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / book / book.js
index 9000c932582c39e44541736d01eaa0279ec1ea13..0ed6601a6a9ab7ffbae812234a4951200aa60451 100644 (file)
@@ -14,7 +14,8 @@
 
         if (val === '0') {
           return Drupal.t('Not in book');
-        } else if (val === 'new') {
+        }
+        if (val === 'new') {
           return Drupal.t('New book');
         }