From 8f955cb4534b298bd90683f501d4124424d1a64f Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Fri, 3 Oct 2014 13:03:59 +0200 Subject: [PATCH 1/2] fix ripples detection --- scripts/material.js | 2 +- template/material/scripts/material.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/material.js b/scripts/material.js index 9b4f7b53..1f1c3758 100644 --- a/scripts/material.js +++ b/scripts/material.js @@ -2,7 +2,7 @@ $(function (){ - if (ripples) { + if (typeof ripples == "object") { ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple"); } diff --git a/template/material/scripts/material.js b/template/material/scripts/material.js index 9b4f7b53..1f1c3758 100644 --- a/template/material/scripts/material.js +++ b/template/material/scripts/material.js @@ -2,7 +2,7 @@ $(function (){ - if (ripples) { + if (typeof ripples == "object") { ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple"); } From 7b8024b808b934ee8c192d8c3aede986660a837a Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Fri, 3 Oct 2014 13:06:04 +0200 Subject: [PATCH 2/2] added memo --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index f4365391..a93d2726 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,6 @@ + Bootstrap Material