From 7ab35b92ffb5c1b4d91befa2b30502208646b655 Mon Sep 17 00:00:00 2001 From: gstamac Date: Fri, 23 Aug 2013 13:59:42 +0200 Subject: [PATCH] Modernizr: fixed alert function override --- modernizr/modernizr-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modernizr/modernizr-tests.ts b/modernizr/modernizr-tests.ts index 63ace3844..012b924e6 100644 --- a/modernizr/modernizr-tests.ts +++ b/modernizr/modernizr-tests.ts @@ -2,9 +2,9 @@ declare var $: any; -/*function alert(thing: any) { +window.alert = function(thing?: string) { $('#content').append('
' + thing + '
'); -}*/ +} $(function () { var audio = new Audio();