summaryrefslogtreecommitdiffstats
path: root/system/libraries/Javascript.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-07-24 22:41:00 +0200
committervlakoff <vlakoff@gmail.com>2013-07-24 22:41:00 +0200
commit3b8b892d8093bfc5f6b6b54c77878eb591eaf6c4 (patch)
tree43d97d6fd368e30d9a9447ee8e52a5d834413d86 /system/libraries/Javascript.php
parent69088d8796457d083c3920361732ae5a7fe50902 (diff)
Fixes in JavaScript Library
Diffstat (limited to 'system/libraries/Javascript.php')
-rw-r--r--system/libraries/Javascript.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
index 090f4c90e..26a16850c 100644
--- a/system/libraries/Javascript.php
+++ b/system/libraries/Javascript.php
@@ -172,7 +172,7 @@ class CI_Javascript {
*/
public function focus($element = 'this', $js = '')
{
- return $this->js->__add_event($element, $js);
+ return $this->js->_focus($element, $js);
}
// --------------------------------------------------------------------
@@ -189,7 +189,7 @@ class CI_Javascript {
*/
public function hover($element = 'this', $over = '', $out = '')
{
- return $this->js->__hover($element, $over, $out);
+ return $this->js->_hover($element, $over, $out);
}
// --------------------------------------------------------------------