From 2cdc9c56ae68441e10fb31bfcda8f76037300601 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sat, 21 Feb 2015 10:34:12 -0500 Subject: [PATCH] Fix resizer in IE --- assets/javascripts/views/layout/resizer.coffee | 2 +- views/app.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/views/layout/resizer.coffee b/assets/javascripts/views/layout/resizer.coffee index 46b2fec0..34200dc8 100644 --- a/assets/javascripts/views/layout/resizer.coffee +++ b/assets/javascripts/views/layout/resizer.coffee @@ -34,7 +34,7 @@ class app.views.Resizer extends app.View onDragStart: (event) => @style.removeAttribute('disabled') event.dataTransfer.effectAllowed = 'link' - event.dataTransfer.setData('text/plain', '') + event.dataTransfer.setData('Text', '') return onDrag: (event) => diff --git a/views/app.erb b/views/app.erb index 6b7bd485..5c2c00cf 100644 --- a/views/app.erb +++ b/views/app.erb @@ -44,7 +44,7 @@ a.src="//secure.gaug.es/track.js";var b=document.getElementsByTagName("script")[0]; b.parentNode.insertBefore(a,b)}(); <% end %> -