diff --git a/core/js/share.js b/core/js/share.js
index 5d34faf8a5db15d9fb26aeee33903a49276247ac..5b93dd307403fe890cbfe9b932b12c838ec3f1d3 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -483,7 +483,7 @@ $(document).ready(function() {
 		if (!$('.cruds', this).is(':visible')) {
 			$('a', this).hide();
 			if (!$('input[name="edit"]', this).is(':checked')) {
-				$('input:[type=checkbox]', this).hide();
+				$('input[type="checkbox"]', this).hide();
 				$('label', this).hide();
 			}
 		} else {