Permalink
Browse files

remove quotes

  • Loading branch information...
1 parent 9d0d1a1 commit eee80b8e062e9d25943568cb1c5c0b5cfdd19ae9 @seanbehan seanbehan committed Apr 24, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 popbox.js
View
@@ -2,12 +2,12 @@
$.fn.popbox = function(options){
var settings = $.extend({
- 'selector' : this.selector,
- 'open' : '.open',
- 'box' : '.box',
- 'arrow' : '.arrow',
- 'arrow-border' : '.arrow-border',
- 'close' : '.close'
+ selector : this.selector,
+ open : '.open',
+ box : '.box',
+ arrow : '.arrow',
+ arrow_border : '.arrow-border',
+ close : '.close'
}, options);
var methods = {
@@ -18,7 +18,7 @@
var box = $(this).parent().find(settings['box']);
box.find(settings['arrow']).css({'left': box.width()/2 - 10});
- box.find(settings['arrow-border']).css({'left': box.width()/2 - 10});
+ box.find(settings['arrow_border']).css({'left': box.width()/2 - 10});
if(box.css('display') == 'block'){
methods.close();

0 comments on commit eee80b8

Please sign in to comment.