Revert "wrapping findBootstrapEnvironment so that it doesn't run before the DOM is ready #2417"

This reverts commit e42365f7c1.
v1.18.x
Julian Lam 10 years ago
parent e42365f7c1
commit 428a431164

@ -256,7 +256,6 @@
findBootstrapEnvironment: function() {
//http://stackoverflow.com/questions/14441456/how-to-detect-which-device-view-youre-on-using-twitter-bootstrap-api
$(document).ready(function() {
var envs = ['xs', 'sm', 'md', 'lg'],
$el = $('<div>');
@ -271,7 +270,6 @@
return env;
}
}
});
},
// get all the url params in a single key/value hash

Loading…
Cancel
Save