Permalink
Browse files

Fixed a bug in live UI plugin to allow `landmarkOptions` to be omitted.

  • Loading branch information...
1 parent 682726c commit 83197a02e2f905dd29e1daf56b891919e27238fb @bminer committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/liveui.js
View
2 plugins/liveui.js
@@ -304,7 +304,7 @@
LiveUpdate.finalize(el);
var dom = LiveUpdate.render(function() {
return LiveUpdate.labelBranch(viewName + "@" + el.id, function () {
- return LiveUpdate.createLandmark(landmarkOptions, function (landmark) {
+ return LiveUpdate.createLandmark(landmarkOptions || {}, function (landmark) {
return LiveUpdate.isolate(function () {
var ret;
tmpl(locals ? locals.observable || locals : {}, function(err, html, info) {

0 comments on commit 83197a0

Please sign in to comment.