From a087774998282f491e370b6309c01cf5b6d48482 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 4 Aug 2015 13:23:55 -0700 Subject: [PATCH] 'title' only seems to be expected for 'bootbox.dialog' in 'bootbox'. --- bootbox/bootbox-tests.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootbox/bootbox-tests.ts b/bootbox/bootbox-tests.ts index dbdfa252d..463170cd7 100644 --- a/bootbox/bootbox-tests.ts +++ b/bootbox/bootbox-tests.ts @@ -27,14 +27,12 @@ bootbox.prompt("Enter 'ok' to pass test", function (result) { console.log(result); }); bootbox.prompt({ - title: "Wassup?", message: "Enter 'ok' to pass test", callback: function (result) { console.log(result); } }); bootbox.prompt({ size: "large", - title: "Wassup?", message: "Enter 'ok' to pass test", callback: function (result) { console.log(result); } @@ -42,6 +40,7 @@ bootbox.prompt({ bootbox.dialog({ + title: "Wassup?", message: "Test Dialog", callback: function (result) { } });