]> _ Git - fluidbook-html5.git/commitdiff
wip #1488 @0:30
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Jun 2017 16:45:05 +0000 (18:45 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Jun 2017 16:45:05 +0000 (18:45 +0200)
js/libs/fluidbook/fluidbook.utils.js
style/fluidbook.less

index f02f3bf56021679f73d05211a5b474d325e41b51..6607d2cd68354db0d75a8c32a2f01574422a8903 100644 (file)
@@ -74,4 +74,10 @@ function blur() {
         tmp.focus();
         document.body.removeChild(tmp);
     }
-}
\ No newline at end of file
+}
+
+Array.prototype.diff = function (a) {
+    return this.filter(function (i) {
+        return a.indexOf(i) < 0;
+    });
+};
\ No newline at end of file
index c45f311bdeae4f2bee22f1208790daf4015d512e..00eef7000d1d12cd9163e37d00f7d720ea67208e 100644 (file)
@@ -534,6 +534,9 @@ header {
 #nav > a {
        vertical-align: top;
        display: inline-block;
+       &.hidden {
+               display: none;
+       }
 }
 
 #nav a {