mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-41504 ActionMenu: Fix block icon sizes
This commit is contained in:
parent
3148fdf0f5
commit
a65a8f2535
@ -115,7 +115,7 @@ Y.extend(DRAGBLOCK, M.core.dragdrop, {
|
||||
blocklist.each(function(blocknode) {
|
||||
var move = blocknode.one('a.'+CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'icon', true));
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'iconsmall', true));
|
||||
blocknode.one('.'+CSS.HEADER).setStyle('cursor', 'move');
|
||||
}
|
||||
}, this);
|
||||
|
File diff suppressed because one or more lines are too long
@ -115,7 +115,7 @@ Y.extend(DRAGBLOCK, M.core.dragdrop, {
|
||||
blocklist.each(function(blocknode) {
|
||||
var move = blocknode.one('a.'+CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'icon', true));
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'iconsmall', true));
|
||||
blocknode.one('.'+CSS.HEADER).setStyle('cursor', 'move');
|
||||
}
|
||||
}, this);
|
||||
|
2
lib/yui/src/blocks/js/blocks.js
vendored
2
lib/yui/src/blocks/js/blocks.js
vendored
@ -113,7 +113,7 @@ Y.extend(DRAGBLOCK, M.core.dragdrop, {
|
||||
blocklist.each(function(blocknode) {
|
||||
var move = blocknode.one('a.'+CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'icon', true));
|
||||
move.replace(this.get_drag_handle(move.getAttribute('title'), '', 'iconsmall', true));
|
||||
blocknode.one('.'+CSS.HEADER).setStyle('cursor', 'move');
|
||||
}
|
||||
}, this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user