munge the page when the DOM is ready (derp)

This commit is contained in:
Sami Samhuri 2012-04-21 11:20:35 -07:00
parent a1261a6bf0
commit c78acc5919

View file

@ -1,6 +1,8 @@
if (!window.__fiveShiftInjected__) { if (!window.__fiveShiftInjected__) {
window.__fiveShiftInjected__ = true window.__fiveShiftInjected__ = true
$(function() {
// load custom css // load custom css
var head = document.getElementsByTagName('head')[0] var head = document.getElementsByTagName('head')[0]
, css = document.createElement('link') , css = document.createElement('link')
@ -20,4 +22,5 @@ if (!window.__fiveShiftInjected__) {
// Fix up the viewport // Fix up the viewport
$('meta[name="viewport"]').attr('content','width=device-width,initial-scale=1.0') $('meta[name="viewport"]').attr('content','width=device-width,initial-scale=1.0')
})
} }