Pārlūkot izejas kodu

checkForJavascript never returns SMPRF_JS_AUTODETECT

pdontthink 20 gadi atpakaļ
vecāks
revīzija
7a925f0075
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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;
 }
 
-?>
+?>