Skip to content

Commit

Permalink
Update hide-ui.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
insane210 committed May 27, 2015
1 parent afc2391 commit a48a1aa
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions plugins/hide-ui.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ window.plugin.hideUI.toggleScreenshotMode = function() {
}
}

$('*').css({'cursor': ''});

window.plugin.hideUI.applySettings();

window.plugin.hideUI.ScreenshotMode = false;
Expand All @@ -161,16 +159,14 @@ window.plugin.hideUI.toggleScreenshotMode = function() {
}
}

$('*').css({'cursor': 'none'});

window.plugin.hideUI.ScreenshotMode = true;
}
};



window.plugin.hideUI.showOptions = function() {
var html = '<a onclick="window.plugin.hideUI.resetSettings(); return false;">Reset Settings</a>' +
var html = '<button type="button" onclick="window.plugin.hideUI.resetSettings(); return false;">Reset Settings</button>' +
'<hr>' +
'<div class="bold">Always hide:</div>';

Expand Down Expand Up @@ -226,9 +222,10 @@ window.plugin.hideUI.showOptions = function() {

var setup = function() {
$('head').append('<style>' +
'#dialog-plugin-hideUI-options a {display: block; color: #ffce00; border: 1px solid #ffce00; padding: 3px 0; margin: 10px auto; width: 80%; text-align: center; background: rgba(8,48,78,.9); }' +
'#dialog-plugin-hideUI-options button { display: block; margin: 10px auto; width: 80%; }' +
'#dialog-plugin-hideUI-options button:hover { cursor: pointer; text-decoration: underline; }' +
'#dialog-plugin-hideUI-options label { display: block; }' +
'#dialog-plugin-hideUI-options input { vertical-align: middle; }' +
'#dialog-plugin-hideUI-options input { vertical-align: middle; height: initial; }' +
'.bold { font-weight: bold; }' +
'.nested { margin-left: 20px; }' +
'.noinput > #chatcontrols, .noinput > #privacycontrols { bottom: 59px !important; }' +
Expand Down

0 comments on commit a48a1aa

Please sign in to comment.