Skip to content

Commit

Permalink
fix(angular1): ons-splitter-content load method.
Browse files Browse the repository at this point in the history
  • Loading branch information
frandiox committed Jan 10, 2017
1 parent bc775bf commit 363d7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ v2.0.6
----

* ons-navigator, ons-page: Fixed the issue that pushed options is always empty on Angular2-binding and macOS Safari.
* angular1: Fix `load` method of `ons-splitter-content`.

v2.0.5
----
Expand Down
2 changes: 1 addition & 1 deletion bindings/angular1/views/splitter-content.js
Expand Up @@ -26,7 +26,7 @@ limitations under the License.
this._scope = scope;
this._attrs = attrs;

this.load = this._element[0].load;
this.load = this._element[0].load.bind(this._element[0]);
scope.$on('$destroy', this._destroy.bind(this));
},

Expand Down

0 comments on commit 363d7f3

Please sign in to comment.