summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Javascript.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
index 723b10679..074af948b 100644
--- a/system/libraries/Javascript.php
+++ b/system/libraries/Javascript.php
@@ -702,11 +702,11 @@ class CI_Javascript {
*
* Outputs an opening <script>
*
- * @access private
+ * @access protected
* @param string
* @return string
*/
- private function _open_script($src = '')
+ protected function _open_script($src = '')
{
return '<script type="text/javascript" charset="'.strtolower($this->CI->config->item('charset')).'"'
. ($src == '' ? '>' : ' src="'.$src.'">');
@@ -719,11 +719,11 @@ class CI_Javascript {
*
* Outputs an closing </script>
*
- * @access private
+ * @access protected
* @param string
* @return string
*/
- private function _close_script($extra = "\n")
+ protected function _close_script($extra = "\n")
{
return "</script>$extra";
}