use class .OxSelectable, not style -user-select
This commit is contained in:
parent
9b83fb3c0a
commit
de04f0816f
8 changed files with 64 additions and 66 deletions
|
|
@ -72,12 +72,11 @@ pandora.ui.news = function(width, height) {
|
|||
tooltip: isEditable ? pandora.getEditTooltip() : '',
|
||||
value: items[index].title
|
||||
})
|
||||
.addClass('OxSelectable')
|
||||
.css({
|
||||
display: 'inline-block',
|
||||
fontWeight: 'bold',
|
||||
fontSize: '16px',
|
||||
MozUserSelect: 'text',
|
||||
WebkitUserSelect: 'text'
|
||||
})
|
||||
.bindEvent({
|
||||
submit: function(data) {
|
||||
|
|
@ -94,11 +93,10 @@ pandora.ui.news = function(width, height) {
|
|||
tooltip: isEditable ? pandora.getEditTooltip() : '',
|
||||
value: items[index].date
|
||||
})
|
||||
.addClass('OxSelectable')
|
||||
.css({
|
||||
display: 'inline-block',
|
||||
fontSize: '9px',
|
||||
MozUserSelect: 'text',
|
||||
WebkitUserSelect: 'text'
|
||||
fontSize: '9px'
|
||||
})
|
||||
.bindEvent({
|
||||
submit: function(data) {
|
||||
|
|
@ -117,10 +115,7 @@ pandora.ui.news = function(width, height) {
|
|||
value: items[index].text,
|
||||
width: width - 512
|
||||
})
|
||||
.css({
|
||||
MozUserSelect: 'text',
|
||||
WebkitUserSelect: 'text'
|
||||
})
|
||||
.addClass('OxSelectable')
|
||||
.bindEvent({
|
||||
submit: function(data) {
|
||||
editItem('text', data.value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue