Skip to content

Commit

Permalink
Merge branch 'MDL-42827-master' of git://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Nov 13, 2013
2 parents 662c526 + 1e98b16 commit 5268dbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion course/yui/toolboxes/toolboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,10 @@ YUI.add('moodle-course-toolboxes', function(Y) {
*/
handle_resource_dim : function(button, activity, action) {
var toggleclass = CSS.DIMCLASS,
dimarea = activity.one('a, .contentwithoutlink'),
dimarea = activity.one([
SELECTOR.ACTIVITYLINK,
SELECTOR.CONTENTWITHOUTLINK
].join(', ')),
availabilityinfo = activity.one(CSS.AVAILABILITYINFODIV),
nextaction = (action === 'hide') ? 'show' : 'hide',
buttontext = button.one('span'),
Expand Down

0 comments on commit 5268dbf

Please sign in to comment.