isSameNode doesn't exist in FF
view.node.on('change', '.rng-visualEditor-editPaneSelectionForm select', function(e) {\r
var target = $(e.target);\r
var selection = window.getSelection();\r
view.node.on('change', '.rng-visualEditor-editPaneSelectionForm select', function(e) {\r
var target = $(e.target);\r
var selection = window.getSelection();\r
- if(selection.anchorNode.isSameNode(selection.focusNode) && selection.anchorNode.nodeType === Node.TEXT_NODE) { \r
+ if(selection.anchorNode === selection.focusNode && selection.anchorNode.nodeType === Node.TEXT_NODE) {\r
var startOffset = selection.anchorOffset;\r
var endOffset = selection.focusOffset;\r
if(startOffset > endOffset) {\r
var startOffset = selection.anchorOffset;\r
var endOffset = selection.focusOffset;\r
if(startOffset > endOffset) {\r