Browse Source

Fix error (invalid return) in JS.

Yuriy Astrov 9 years ago
parent
commit
aac1d62330
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/js/get_status.js

+ 1 - 1
source/js/get_status.js

@@ -1,5 +1,5 @@
 var baseNode = document.getSelection().baseNode;
-if (baseNode === null) ''; else {
+if (baseNode === null) return ''; else {
 	(f = function(node){
 		var tag = node.tagName;
 		if (tag === 'BODY') return '';