Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Milan
diaspora
Commits
ca07f5b9
Commit
ca07f5b9
authored
Jan 13, 2012
by
Tray Torrance
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close #2606 and address other FF 3.x deficiencies.
parent
9dbe644b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
+11
-0
public/javascripts/ie.js
public/javascripts/ie.js
+0
-4
No files found.
app/views/layouts/application.html.haml
View file @
ca07f5b9
...
@@ -65,6 +65,17 @@
...
@@ -65,6 +65,17 @@
-
if
rtl?
-
if
rtl?
=
include_stylesheets
:rtl
,
:media
=>
'all'
=
include_stylesheets
:rtl
,
:media
=>
'all'
:javascript
// Support for older browsers
if
(
Array
.
isArray
===
undefined
)
{
Array
.
isArray
=
function
(
arg
)
{
return
Object
.
prototype
.
toString
.
call
(
arg
)
==
'
[object Array]
'
;
};
}
if
((
window
.
history
)
&&
(
window
.
history
.
pushState
===
undefined
))
{
window
.
history
.
pushState
=
function
()
{
};
}
=
csrf_meta_tag
=
csrf_meta_tag
<!--[if IE]>
<!--[if IE]>
=
javascript_include_tag
"/javascripts/ie.js"
=
javascript_include_tag
"/javascripts/ie.js"
...
...
public/javascripts/ie.js
View file @
ca07f5b9
document
.
createElement
(
'
header
'
);
document
.
createElement
(
'
header
'
);
document
.
createElement
(
'
footer
'
);
document
.
createElement
(
'
footer
'
);
// IE 9 work-around for vendor/backbone.js
if
((
window
.
history
)
&&
(
document
.
documentMode
==
9
))
{
window
.
history
.
pushState
=
function
()
{
};
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment