mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
munge the page when the DOM is ready (derp)
This commit is contained in:
parent
a1261a6bf0
commit
c78acc5919
1 changed files with 20 additions and 17 deletions
|
|
@ -1,6 +1,8 @@
|
|||
if (!window.__fiveShiftInjected__) {
|
||||
window.__fiveShiftInjected__ = true
|
||||
|
||||
$(function() {
|
||||
|
||||
// load custom css
|
||||
var head = document.getElementsByTagName('head')[0]
|
||||
, css = document.createElement('link')
|
||||
|
|
@ -20,4 +22,5 @@ if (!window.__fiveShiftInjected__) {
|
|||
|
||||
// Fix up the viewport
|
||||
$('meta[name="viewport"]').attr('content','width=device-width,initial-scale=1.0')
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue