Skip to content

Commit

Permalink
Give mobile mirror to IE7…and not mobile…got figure
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 5, 2012
1 parent 0e21362 commit 20c2ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/editors/mobileCodeMirror.js
@@ -1,7 +1,7 @@
// yeah, nasty, but it allows me to switch from a RTF to plain text if we're running a iOS
var noop = function () {};

if (jsbin.mobile || document.body.className.indexOf('ie6') !== -1) {
if (document.body.className.indexOf('ie6') !== -1 || document.body.className.indexOf('ie7') !== -1) {
$('body').addClass('mobile');
Editor = function (el, options) {
this.textarea = el;
Expand Down

0 comments on commit 20c2ff6

Please sign in to comment.