Explorar o código

Fix error (invalid return) in JS.

Yuriy Astrov %!s(int64=9) %!d(string=hai) anos
pai
achega
aac1d62330
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 '';