浏览代码

checkForJavascript never returns SMPRF_JS_AUTODETECT

pdontthink 20 年之前
父节点
当前提交
7a925f0075
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      functions/prefs.php

+ 2 - 2
functions/prefs.php

@@ -156,7 +156,7 @@ function computeHashDirs($username) {
 /**
 /**
  * Javascript support detection function
  * Javascript support detection function
  * @param boolean $reset recheck javascript support if set to true.
  * @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
  * @since 1.5.1
  */
  */
 function checkForJavascript($reset = FALSE) {
 function checkForJavascript($reset = FALSE) {
@@ -181,4 +181,4 @@ function checkForJavascript($reset = FALSE) {
   return $javascript_on;
   return $javascript_on;
 }
 }
 
 
-?>
+?>