twbsTags: Tabset.apply(xs) should apply xs after tabs
authorTomas Zeman <tzeman@volny.cz>
Thu, 28 Dec 2017 15:29:14 +0100
changeset 51 28fe22d4f2f5
parent 50 d2a0dfbb7dae
child 52 ec8eba81fd9a
twbsTags: Tabset.apply(xs) should apply xs after tabs
shared/src/main/scala/net/tz/ngtags/twbsTags.scala
--- a/shared/src/main/scala/net/tz/ngtags/twbsTags.scala	Tue Dec 12 16:02:42 2017 +0100
+++ b/shared/src/main/scala/net/tz/ngtags/twbsTags.scala	Thu Dec 28 15:29:14 2017 +0100
@@ -58,10 +58,10 @@
 
     def apply(xs: Modifier*): TypedTag[String] =
       tag("uib-tabset")(attr("active"):=activeE,
-        _justified.map(attr("justified"):=_), xs,
+        _justified.map(attr("justified"):=_),
         _tabs.map { t =>
           tag("uib-tab")(tag("uib-tab-heading")(t.heading), t.content)
-        })
+        }, xs)
   }
 
   def tabset(activeExpr: String) = Tabset(activeExpr)