Browse Source

checkForJavascript never returns SMPRF_JS_AUTODETECT

pdontthink 20 năm trước cách đây
mục cha
commit
7a925f0075
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      functions/prefs.php

+ 2 - 2
functions/prefs.php

@@ -156,7 +156,7 @@ function computeHashDirs($username) {
 /**
  * Javascript support detection function
  * @param boolean $reset recheck javascript support if set to true.
- * @return integer SMPREF_JS_* constants
+ * @return integer SMPREF_JS_ON or SMPREF_JS_OFF ({@see functions/constants.php})
  * @since 1.5.1
  */
 function checkForJavascript($reset = FALSE) {
@@ -181,4 +181,4 @@ function checkForJavascript($reset = FALSE) {
   return $javascript_on;
 }
 
-?>
+?>