To participate you must create an account on apostrophenow.org. If you have already done so, click Login.
Changeset 4477
- Timestamp:
- 01/18/12 11:52:41 (4 months ago)
- Author:
- kerry
- Message:
-
fixed bug with placeholder clicker box
that looks for the choose button url in the correct place for both slots in areas and singleton slots
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r4476
|
r4477
|
|
| 1145 | 1145 | placeholders.die('click.mediaSlotEnhancements').live('click.mediaSlotEnhancements', function(event){ |
| 1146 | 1146 | var $self = $(this), |
| 1147 | | chooseBtn = $self.closest('.a-slot').find('.a-js-choose-button'); |
| | 1147 | chooseBtn = ($self.closest('.singleton').length) ? $self.closest('.a-area').find('.a-js-choose-button') : $self.closest('.a-slot').find('.a-js-choose-button'); |
| 1148 | 1148 | $self.addClass('in-progress'); |
| 1149 | 1149 | window.location.href = chooseBtn.attr('href'); |
| … |
… |
|
| 1151 | 1151 | }); |
| 1152 | 1152 | }; |
| 1153 | | |
| | 1153 | |
| 1154 | 1154 | |
| 1155 | 1155 | /** |
Download in other formats: