Project

General

Profile

Defect #12650 » context-menu.diff

Daniel Ritz, 2013-04-18 11:42

View differences:

public/javascripts/context_menu.js
186 186
function contextMenuClearDocumentSelection() {
187 187
  // TODO
188 188
  if (document.selection) {
189
    document.selection.clear(); // IE
189
    document.selection.empty(); // IE
190 190
  } else {
191 191
    window.getSelection().removeAllRanges();
192 192
  }
(4-4/4)