Removed obsolet code.
This commit is contained in:
parent
eb9bb6b0fa
commit
db22adfd3c
1 changed files with 2 additions and 3 deletions
|
@ -202,8 +202,8 @@
|
||||||
|
|
||||||
// insert and in case, resize images
|
// insert and in case, resize images
|
||||||
var clipboardData
|
var clipboardData
|
||||||
if (window.clipboardData) { // ie
|
if (e.clipboardData) { // ie
|
||||||
clipboardData = window.clipboardData
|
clipboardData = e.clipboardData
|
||||||
}
|
}
|
||||||
else if (e.originalEvent.clipboardData) { // other browsers
|
else if (e.originalEvent.clipboardData) { // other browsers
|
||||||
clipboardData = e.originalEvent.clipboardData
|
clipboardData = e.originalEvent.clipboardData
|
||||||
|
@ -212,7 +212,6 @@
|
||||||
throw "No clipboardData support"
|
throw "No clipboardData support"
|
||||||
}
|
}
|
||||||
|
|
||||||
var clipboardData = e.clipboardData || e.originalEvent.clipboardData
|
|
||||||
if (clipboardData && clipboardData.items && clipboardData.items[0]) {
|
if (clipboardData && clipboardData.items && clipboardData.items[0]) {
|
||||||
var imageInserted = false
|
var imageInserted = false
|
||||||
var item = clipboardData.items[0]
|
var item = clipboardData.items[0]
|
||||||
|
|
Loading…
Reference in a new issue