demos/Collage/fabric.js
function makeElementSelectable(element) {
      if (typeof element.onselectstart !== 'undefined') {
        element.onselectstart = null;
      }
      if (selectProp) {
        element.style[selectProp] = '';
      }
      else if (typeof element.unselectable == 'string') {
        element.unselectable = '';
      }
      return element;
    }
function makeElementSelectable(element) {
      if (typeof element.onselectstart !== 'undefined') {
        element.onselectstart = null;
      }
      if (selectProp) {
        element.style[selectProp] = '';
      }
      else if (typeof element.unselectable == 'string') {
        element.unselectable = '';
      }
      return element;
    }
function makeElementSelectable ( element ) { if ( typeof element . onselectstart !== 'undefined' ) { element . onselectstart = null ; } if ( selectProp ) { element . style [ selectProp ] = '' ; } else if ( typeof element . unselectable == 'string' ) { element . unselectable = '' ; } return element ; }
Makes element selectable
@method makeElementSelectable
@memberOf fabric.util
@param {HTMLElement} element Element to make selectable
@return {HTMLElement} Element that was passed in
Makes element selectable