Permalink
Browse files

Fix sync image in Firefox ... was gettig wrong <pb>.

  • Loading branch information...
1 parent 4cf3fb7 commit fb67eb37a8efde20bbbddac0406ce98e6784081e @rgrempel committed Mar 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/application.js
@@ -119,7 +119,7 @@ isc.defineClass("DocumentContents", isc.VLayout).addProperties({
var self = this;
var menuItems = [];
- var pb = isc.EH.findTarget('preceding::div[@class="pb"]');
+ var pb = isc.EH.findTarget('(preceding::div[@class="pb"])[position()=last()]');
if (pb) {
var title = "Sync Image";
menuItems.add({

0 comments on commit fb67eb3

Please sign in to comment.