Răsfoiți Sursa

Fix error (invalid return) in JS.

Yuriy Astrov 9 ani în urmă
părinte
comite
aac1d62330
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 '';