From eef34eea80b83be7323b50e14f963cc205f87f29 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 6 Sep 2013 14:56:56 -0400 Subject: [PATCH] Fix IE9 bug in browser-update. Unable to get value of the property 'insertBefore': object is null or undefined --- app/assets/javascripts/external/browser-update.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/external/browser-update.js b/app/assets/javascripts/external/browser-update.js index d3207812ebd..2ff05307f59 100644 --- a/app/assets/javascripts/external/browser-update.js +++ b/app/assets/javascripts/external/browser-update.js @@ -43,6 +43,8 @@ var $buo = function() { }; -$bu=$buo(); +$(function() { + $bu=$buo(); +}); })(this); \ No newline at end of file